classes/Routing/Router.php
public function getRoute($name)
	{
		if (!isset($this->namedRoutes[$name])) {
			throw new \InvalidArgumentException("Route with name $name not found.");
		}

		return $this->namedRoutes[$name];
	}
public function getRoute($name)
	{
		if (!isset($this->namedRoutes[$name])) {
			throw new \InvalidArgumentException("Route with name $name not found.");
		}

		return $this->namedRoutes[$name];
	}
{@inheritdoc}