src/MVC/Application/Container.php
public function getRoute($name)
    {
        if (!isset($this->routes[$name])) {
            throw new \LogicException(sprintf('Route "%s" not found.', $name));
        }
        
        return $this->routes[$name];
    }
public function getRoute($name)
    {
        if (!isset($this->routes[$name])) {
            throw new \LogicException(sprintf('Route "%s" not found.', $name));
        }
        
        return $this->routes[$name];
    }
public function getRoute ( $ name ) { if ( ! isset ( $ this -> routes [ $ name ] ) ) { throw new \ LogicException ( sprintf ( 'Route "%s" not found.' , $ name ) ) ; } return $ this -> routes [ $ name ] ; }
Get Route from name

@param string $name
@return Route
@throws \LogicException
Get Route from name