改名
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user