src/Qlake/Routing/Collection.php
public function addRoute(Route $route)
	{
		foreach ($route->getMethods() as $method)
		{
			$this->routes[$method][/*$route->uri*/] = $route;
		}
		
		$this->allRoutes[] = $route;

		return $this;
	}
public function addRoute(Route $route)
	{
		foreach ($route->getMethods() as $method)
		{
			$this->routes[$method][/*$route->uri*/] = $route;
		}
		
		$this->allRoutes[] = $route;

		return $this;
	}
public function addRoute ( Route $ route ) { foreach ( $ route -> getMethods ( ) as $ method ) { $ this -> routes [ $ method ] [ /*$route->uri*/ ] = $ route ; } $ this -> allRoutes [ ] = $ route ; return $ this ; }
Add a Route instans to application routes.

@param Qlake\Routing\Route
@return Qlake\Routing\Route
Add a Route instans to application routes .