private function resolveRouteType($routeType)
    {
        $typeClassName = sprintf('%sRoute', ucfirst($routeType));
        $classNamespace = __NAMESPACE__ . '\\Router\\Route\\' . $typeClassName;
        if (!array_key_exists($classNamespace, $this->resolvedTypes)) {
            $reflectionClass = new \ReflectionClass($classNamespace);
            $this->resolvedTypes[$classNamespace] = $reflectionClass->newInstance();
        }

        return $this->resolvedTypes[$classNamespace];
    }
private function resolveRouteType($routeType)
    {
        $typeClassName = sprintf('%sRoute', ucfirst($routeType));
        $classNamespace = __NAMESPACE__ . '\\Router\\Route\\' . $typeClassName;
        if (!array_key_exists($classNamespace, $this->resolvedTypes)) {
            $reflectionClass = new \ReflectionClass($classNamespace);
            $this->resolvedTypes[$classNamespace] = $reflectionClass->newInstance();
        }

        return $this->resolvedTypes[$classNamespace];
    }
private function resolveRouteType ( $ routeType ) { $ typeClassName = sprintf ( '%sRoute' , ucfirst ( $ routeType ) ) ; $ classNamespace = __NAMESPACE__ . '\\Router\\Route\\' . $ typeClassName ; if ( ! array_key_exists ( $ classNamespace , $ this -> resolvedTypes ) ) { $ reflectionClass = new \ ReflectionClass ( $ classNamespace ) ; $ this -> resolvedTypes [ $ classNamespace ] = $ reflectionClass -> newInstance ( ) ; } return $ this -> resolvedTypes [ $ classNamespace ] ; }
Resolves route type

@param $routeType
@return \Vegas\Mvc\Router\RouteInterface
@throws Router\Exception\InvalidRouteTypeException
@internal
Resolves route type