classes/Routing/Router.php
public function addCachedRoute(Route $route)
	{
		$this->routes->attach($route);
		if ($name = $route->getName()) {
			$this->addNamedRoute($name, $route);
		}
	}
public function addCachedRoute(Route $route)
	{
		$this->routes->attach($route);
		if ($name = $route->getName()) {
			$this->addNamedRoute($name, $route);
		}
	}
Add a cached route.

@param Route $route

@internal