protected function restartSocket() { $this->info('Restarting the socket server'); event(new RestartSocketServer()); }