private function parseRouteConfiguration($route)
    {
        if (!is_array($route)) {
            throw new Exception("Strata configuration file contains an invalid route.");
        }

        return $this->isDynamic($route) ?
            $this->parseDynamicRoute($route) :
            $this->parseMatchedRoute($route);
    }
private function parseRouteConfiguration($route)
    {
        if (!is_array($route)) {
            throw new Exception("Strata configuration file contains an invalid route.");
        }

        return $this->isDynamic($route) ?
            $this->parseDynamicRoute($route) :
            $this->parseMatchedRoute($route);
    }
private function parseRouteConfiguration ( $ route ) { if ( ! is_array ( $ route ) ) { throw new Exception ( "Strata configuration file contains an invalid route." ) ; } return $ this -> isDynamic ( $ route ) ? $ this -> parseDynamicRoute ( $ route ) : $ this -> parseMatchedRoute ( $ route ) ; }
Adds a new route configuration.
@param array $route
Adds a new route configuration .