This commit is contained in:
2021-10-26 10:41:11 +08:00
parent 90b22a14e0
commit 0d624f8a1f
3 changed files with 0 additions and 29 deletions
-8
View File
@@ -46,11 +46,6 @@ class ServerCommand extends Command
public EventProvider $eventProvider;
/** @var ContainerInterface */
#[Inject(ContainerInterface::class)]
public ContainerInterface $container;
/**
*
*/
@@ -72,9 +67,6 @@ class ServerCommand extends Command
public function execute(InputInterface $input, OutputInterface $output): int
{
try {
$this->container->mapping(RequestInterface::class, Request::class);
$this->container->mapping(ResponseInterface::class, Response::class);
$manager = Kiri::app()->getServer();
$manager->setDaemon((int)is_null($input->getOption('daemon')));
if (!in_array($input->getArgument('action'), self::ACTIONS)) {