setProcessName(sprintf('manger[%d].0', $server->manager_pid)); $this->eventDispatch->dispatch(new OnManagerStart($server)); } /** * @param \Swoole\Server $server * @throws ReflectionException */ public function onManagerStop(\Swoole\Server $server) { $this->eventDispatch->dispatch(new OnManagerStop($server)); } }