改名
This commit is contained in:
@@ -364,7 +364,7 @@ class Server extends HttpService
|
||||
* @throws NotFindClassException
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
private function startRpcService()
|
||||
private function startRpcService(): Packet|Websocket|Receive|Http|null
|
||||
{
|
||||
$rpcService = Config::get('rpc.service', false, []);
|
||||
if (is_array($rpcService) && !empty($rpcService)) {
|
||||
|
||||
@@ -128,6 +128,7 @@ class Container extends BaseObject
|
||||
$dependencies[$index] = $param;
|
||||
}
|
||||
|
||||
var_dump($reflect->getName());
|
||||
if (!$reflect->isInstantiable()) {
|
||||
throw new NotFindClassException($reflect->getName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user