public function onManagerStart(Server $server): void
    {
        // $server->manager_pid;
        $this->fire(ServerEvent::MANAGER_STARTED, $server);

        // file_put_contents($this->pidFile, ',' . $server->manager_pid, FILE_APPEND);
        ServerUtil::createPidFile($server->manager_pid, $this->pidFile);
        ProcessUtil::setTitle("{$this->name}: manager");

        $this->log("The <comment>manager</comment> process success started. (PID:{$server->manager_pid})");
    }
public function onManagerStart(Server $server): void
    {
        // $server->manager_pid;
        $this->fire(ServerEvent::MANAGER_STARTED, $server);

        // file_put_contents($this->pidFile, ',' . $server->manager_pid, FILE_APPEND);
        ServerUtil::createPidFile($server->manager_pid, $this->pidFile);
        ProcessUtil::setTitle("{$this->name}: manager");

        $this->log("The <comment>manager</comment> process success started. (PID:{$server->manager_pid})");
    }
public function onManagerStart ( Server $ server ) : void { // $server->manager_pid; $ this -> fire ( ServerEvent :: MANAGER_STARTED , $ server ) ; // file_put_contents($this->pidFile, ',' . $server->manager_pid, FILE_APPEND); ServerUtil :: createPidFile ( $ server -> manager_pid , $ this -> pidFile ) ; ProcessUtil :: setTitle ( "{$this->name}: manager" ) ; $ this -> log ( "The <comment>manager</comment> process success started. (PID:{$server->manager_pid})" ) ; }
on Manager Start
@param  Server $server
on Manager Start