Contao\System::getIndexFreeRequest PHP Méthode

getIndexFreeRequest() public static méthode

Return the request string without the script name
Deprecation: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use Environment::get("indexFreeRequest") instead.
public static getIndexFreeRequest ( boolean $blnAmpersand = true ) : string
$blnAmpersand boolean If true, ampersands will be encoded
Résultat string The request string
    public static function getIndexFreeRequest($blnAmpersand = true)
    {
        @trigger_error('Using System::getIndexFreeRequest() has been deprecated and will no longer work in Contao 5.0. Use Environment::get("indexFreeRequest") instead.', E_USER_DEPRECATED);
        return ampersand(\Environment::get('indexFreeRequest'), $blnAmpersand);
    }