original_string: protected function loadWebsocketRoutes()
      {
          $routePath = $this->container->make('config')
              ->get('swoole_websocket.route_file');
  
          if (! file_exists($routePath)) {
              $routePath = __DIR__ . '/../../routes/websocket.php';
          }
  
          return require $routePath;
      }
code: protected function loadWebsocketRoutes()
      {
          $routePath = $this->container->make('config')
              ->get('swoole_websocket.route_file');
  
          if (! file_exists($routePath)) {
              $routePath = __DIR__ . '/../../routes/websocket.php';
          }
  
          return require $routePath;
      }
code_tokens: protected function loadWebsocketRoutes ( ) { $ routePath = $ this -> container -> make ( 'config' ) -> get ( 'swoole_websocket.route_file' ) ; if ( ! file_exists ( $ routePath ) ) { $ routePath = __DIR__ . '/../../routes/websocket.php' ; } return require $ routePath ; }
docstring: Load websocket routes file.
docstring_tokens: Load websocket routes file .