public function routeRequest(\Slab\Components\SystemInterface $system)
    {
        $this->determineSelectedRoute();

        if (!empty($this->selectedRoute))
        {
            return $this->selectedRoute;
        }

        if (!empty($this->routeNameMap['404']))
        {
            return $this->routeNameMap['404'];
        }

        return null;
    }
public function routeRequest(\Slab\Components\SystemInterface $system)
    {
        $this->determineSelectedRoute();

        if (!empty($this->selectedRoute))
        {
            return $this->selectedRoute;
        }

        if (!empty($this->routeNameMap['404']))
        {
            return $this->routeNameMap['404'];
        }

        return null;
    }
public function routeRequest ( \ Slab \ Components \ SystemInterface $ system ) { $ this -> determineSelectedRoute ( ) ; if ( ! empty ( $ this -> selectedRoute ) ) { return $ this -> selectedRoute ; } if ( ! empty ( $ this -> routeNameMap [ '404' ] ) ) { return $ this -> routeNameMap [ '404' ] ; } return null ; }
Route the request

@param \Slab\Components\SystemInterface $system
@return \Slab\Components\Router\RouteInterface
Route the request