使用示例:[https://github.com/caylof/php-rpc](https://github.com/caylof/php-rpc)
# 服务定义说明
服务方法的定义需要遵循如下方式函数签名container));
$this->setServiceCaller($serviceCaller);
}
}
```
- 在配置文件 `config/process.php` 添加进程- client 进一步封装
新建文件 `app/rpc/client/ServiceClient.php`,作为一个客户端的基类:
```php
<?