protected function isBlacklisted($pathInfo)
    {
        $pathInfo = ltrim($pathInfo, self::SEPARATOR_PATH);
        foreach ($this->blacklist as $pattern) {
            if (preg_match($pattern, $pathInfo)) {
                return true;
            }
        }

        return false;
    }
protected function isBlacklisted($pathInfo)
    {
        $pathInfo = ltrim($pathInfo, self::SEPARATOR_PATH);
        foreach ($this->blacklist as $pattern) {
            if (preg_match($pattern, $pathInfo)) {
                return true;
            }
        }

        return false;
    }
protected function isBlacklisted ( $ pathInfo ) { $ pathInfo = ltrim ( $ pathInfo , self :: SEPARATOR_PATH ) ; foreach ( $ this -> blacklist as $ pattern ) { if ( preg_match ( $ pattern , $ pathInfo ) ) { return true ; } } return false ; }
Returns whether the path info is blacklisted.

@see $blacklist

@param string $pathInfo the path info of the currently requested URL.

@return bool
Returns whether the path info is blacklisted .