public static function parse($url, $method = '')
    {
        deprecationWarning(
            'Router::parse() is deprecated. ' .
            'Use Router::parseRequest() instead. This will require adopting the Http\Server library.'
        );
        if (!static::$initialized) {
            static::_loadRoutes();
        }
        if (strpos($url, '/') !== 0) {
            $url = '/' . $url;
        }

        return static::$_collection->parse($url, $method);
    }