Returns a route from the loaded configurations, by name.

Parameters

  • string $route Name of the route to request.

Returns

lithium\net\http\Route

Source

						public static function get($route = null) {
		if ($route === null) {
			return static::$_configurations;
		}
		return isset(static::$_configurations[$route]) ? static::$_configurations[$route] : null;
	}