Extends
lithium\core\StaticObject
Returns a route from the loaded configurations, by name.
Parameters
- string $route Name of the route to request.
Returns
lithium\net\http\RouteSource
public static function get($route = null) {
if ($route === null) {
return static::$_configurations;
}
return isset(static::$_configurations[$route]) ? static::$_configurations[$route] : null;
}