src/Leevel/Protocol/Console/Base/Server.php
public function handle(): void
    {
        $this->info($this->getLogo());
        $this->warn($this->getVersion());

        $server = $this->createServer();

        if (true === $this->option('daemonize')) {
            $server->setOption('daemonize', '1');
        }

        $this->checkPort($option = $server->getOption());
        $this->checkService($option);
        $this->start($option);

        $server->startServer();
    }
public function handle(): void
    {
        $this->info($this->getLogo());
        $this->warn($this->getVersion());

        $server = $this->createServer();

        if (true === $this->option('daemonize')) {
            $server->setOption('daemonize', '1');
        }

        $this->checkPort($option = $server->getOption());
        $this->checkService($option);
        $this->start($option);

        $server->startServer();
    }
响应命令.