public function getCurrentUrl(array $options)
    {
        $url = Environment::get('url');

        if (isset($options['skipParams']) && $options['skipParams']) {
            $url .= parse_url(Environment::get('uri'), PHP_URL_PATH);
        } else {
            $url .= Environment::get('requestUri');
        }

        return $url;
    }