protected function matchUrlDirectly($url)
    {
        foreach ($this->routes as $route) {
            if ($route->matchDirectly($url)) {
                return $route;
            }
        }
        return null;
    }
protected function matchUrlDirectly($url)
    {
        foreach ($this->routes as $route) {
            if ($route->matchDirectly($url)) {
                return $route;
            }
        }
        return null;
    }
protected function matchUrlDirectly ( $ url ) { foreach ( $ this -> routes as $ route ) { if ( $ route -> matchDirectly ( $ url ) ) { return $ route ; } } return null ; }
Loop through routes and try to match directly.

@param string $url

@return \Parable\Routing\Route|null
Loop through routes and try to match directly .