Laravoole\Wrapper\SwooleFastCGIWrapper::start PHP Метод

start() публичный Метод

public start ( )
    public function start()
    {
        // override
        config(['laravoole.base_config.deal_with_public' => false]);
        if (!empty($this->handler_config)) {
            $this->server->set($this->handler_config);
        }
        $this->server->on('Start', [$this, 'onServerStart']);
        $this->server->on('Receive', [$this, 'onReceive']);
        $this->server->on('Shutdown', [$this, 'onServerShutdown']);
        $this->server->on('WorkerStart', [$this, 'onWorkerStart']);
        $this->server->start();
    }