Laravoole\Wrapper\Swoole::onServerStart PHP 메소드

onServerStart() 공개 메소드

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