Laravoole\Wrapper\Swoole::onServerStart PHP Méthode

onServerStart() public méthode

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