* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ declare(strict_types=1); namespace App\JsonRpc; use Hyperf\RpcServer\Annotation\RpcService; #[RpcService(name: 'InventoryService', server: 'jsonrpc-http', protocol: 'jsonrpc-http', publishTo: 'nacos')] class InventoryService extends BaseService implements InventoryServiceInterface { public function addInventory(array $data): void { } }