public function isBlacklisted($assetPath)
    {
        foreach ($this->blacklist as $pattern){
            if(preg_match($pattern, $assetPath) === 1){
                return true;
            }
        }
        return false;

    }
public function isBlacklisted($assetPath)
    {
        foreach ($this->blacklist as $pattern){
            if(preg_match($pattern, $assetPath) === 1){
                return true;
            }
        }
        return false;

    }
public function isBlacklisted ( $ assetPath ) { foreach ( $ this -> blacklist as $ pattern ) { if ( preg_match ( $ pattern , $ assetPath ) === 1 ) { return true ; } } return false ; }
Allow to know if a path is blacklisted or not
@param string $assetPath
@return bool
Allow to know if a path is blacklisted or not