src/Qlake/Routing/Router.php
protected function addRoute($methods, $uri, $action)
	{
		$route = $this->createRoute($methods, $uri, $action);

		$route->setPrefixUri($this->processGroupsUri());

		$this->routes->addRoute($route);

		return $route;
	}
protected function addRoute($methods, $uri, $action)
	{
		$route = $this->createRoute($methods, $uri, $action);

		$route->setPrefixUri($this->processGroupsUri());

		$this->routes->addRoute($route);

		return $route;
	}
protected function addRoute ( $ methods , $ uri , $ action ) { $ route = $ this -> createRoute ( $ methods , $ uri , $ action ) ; $ route -> setPrefixUri ( $ this -> processGroupsUri ( ) ) ; $ this -> routes -> addRoute ( $ route ) ; return $ route ; }
Create and register a route

@param array $methods
@param string $uri
@param Closure|string $action
@return Qlake\Routing\Route
Create and register a route