This commit is contained in:
2021-08-18 13:32:37 +08:00
parent 99e2f36794
commit 1c4020810f
2 changed files with 2 additions and 12 deletions
+2 -11
View File
@@ -428,15 +428,6 @@ abstract class BaseApplication extends Component
} }
/**
* @return \Rpc\Producer
* @throws Exception
*/
public function getRpc(): Producer
{
return $this->get('rpc');
}
/** /**
* @param $array * @param $array
@@ -463,9 +454,9 @@ abstract class BaseApplication extends Component
/** /**
* @param $id * @param $id
* @param $definition * @return bool
* @throws ReflectionException
* @throws NotFindClassException * @throws NotFindClassException
* @throws ReflectionException
*/ */
public function has($id): bool public function has($id): bool
{ {
-1
View File
@@ -14,7 +14,6 @@ use Kiri\Exception\ConfigException;
use Kiri\Exception\NotFindClassException; use Kiri\Exception\NotFindClassException;
use Kiri\Process\Biomonitoring; use Kiri\Process\Biomonitoring;
use ReflectionException; use ReflectionException;
use Rpc\Service;
use Server\Constant; use Server\Constant;
use Server\Events\OnShutdown; use Server\Events\OnShutdown;
use Server\ServerManager; use Server\ServerManager;