private function parseMethodTypes($routes = array())
    {
        $parsed = array();

        foreach ($routes as $route) {
            if ($route[0] === "*") {
                $route[0] = "HEAD|GET|PUT|POST|UPDATE|DELETE|OPTIONS";
            }
            $parsed[] = $route;
        }

        return $parsed;
    }
private function parseMethodTypes($routes = array())
    {
        $parsed = array();

        foreach ($routes as $route) {
            if ($route[0] === "*") {
                $route[0] = "HEAD|GET|PUT|POST|UPDATE|DELETE|OPTIONS";
            }
            $parsed[] = $route;
        }

        return $parsed;
    }
private function parseMethodTypes ( $ routes = array ( ) ) { $ parsed = array ( ) ; foreach ( $ routes as $ route ) { if ( $ route [ 0 ] === "*" ) { $ route [ 0 ] = "HEAD|GET|PUT|POST|UPDATE|DELETE|OPTIONS" ; } $ parsed [ ] = $ route ; } return $ parsed ; }
Strata allows a wildcard for global routes, replace that wildcard
with all the availlable possibilities explicitly.
@param  array $routes
@return array
Strata allows a wildcard for global routes replace that wildcard with all the availlable possibilities explicitly .