classes/Ergo/Routing/Router.php
public function lookup($path)
	{
		if($match = $this->_getRouteMatch($path,$this->_routes))
			return $match;

		if($match = $this->_getRouteMatch($path,$this->_customRoutes))
			return $match;

		throw new LookupException("No route matches path '$path'");
	}
public function lookup($path)
	{
		if($match = $this->_getRouteMatch($path,$this->_routes))
			return $match;

		if($match = $this->_getRouteMatch($path,$this->_customRoutes))
			return $match;

		throw new LookupException("No route matches path '$path'");
	}
public function lookup ( $ path ) { if ( $ match = $ this -> _getRouteMatch ( $ path , $ this -> _routes ) ) return $ match ; if ( $ match = $ this -> _getRouteMatch ( $ path , $ this -> _customRoutes ) ) return $ match ; throw new LookupException ( "No route matches path '$path'" ) ; }
Looks up a route match based on a url path
@param string $path
@return RouteMatch
Looks up a route match based on a url path