public function getRoute($routeId) {

	    if(!array_key_exists($routeId, $this->routes)) {
            throw new ApplicationException(sprintf("No route with id '%s' configured.", $routeId));
        }

        return $this->routes[$routeId];

	}
public function getRoute($routeId) {

	    if(!array_key_exists($routeId, $this->routes)) {
            throw new ApplicationException(sprintf("No route with id '%s' configured.", $routeId));
        }

        return $this->routes[$routeId];

	}
public function getRoute ( $ routeId ) { if ( ! array_key_exists ( $ routeId , $ this -> routes ) ) { throw new ApplicationException ( sprintf ( "No route with id '%s' configured." , $ routeId ) ) ; } return $ this -> routes [ $ routeId ] ; }
get a route identified by its id

@param string $routeId

@return \vxPHP\Routing\Route
@throws \vxPHP\Application\Exception\ApplicationException
get a route identified by its id