Laravoole\Wrapper\Swoole::onServerStart PHP Метод

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

public onServerStart ( )
    public function onServerStart()
    {
        // put pid
        file_put_contents($this->pid_file, $this->getPid());
    }