protected function loadRoutesFrom($path)
    {
        $router = $this->app[WsRouter::class];
        if (is_null($this->namespace)) {
            return require $path;
        }
        $router->group(['namespace' => $this->namespace], function ($router) use ($path) {
            require $path;
        });
    }
protected function loadRoutesFrom($path)
    {
        $router = $this->app[WsRouter::class];
        if (is_null($this->namespace)) {
            return require $path;
        }
        $router->group(['namespace' => $this->namespace], function ($router) use ($path) {
            require $path;
        });
    }
protected function loadRoutesFrom ( $ path ) { $ router = $ this -> app [ WsRouter :: class ] ; if ( is_null ( $ this -> namespace ) ) { return require $ path ; } $ router -> group ( [ 'namespace' => $ this -> namespace ] , function ( $ router ) use ( $ path ) { require $ path ; } ) ; }
Load the standard routes file for the application.

@param  string  $path
@return void
Load the standard routes file for the application .