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