manager_pid)); $this->dispatch->dispatch(new OnManagerStart($server)); } /** * @param \Swoole\Server $server * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws ReflectionException */ public function onManagerStop(\Swoole\Server $server) { $this->dispatch->dispatch(new OnManagerStop($server)); } }