private function isAccessAuthorized($uri)
    {
        foreach ($this->forbiddenUriPatterns as $forbiddenUriPattern)
        {
            if (preg_match("@$forbiddenUriPattern@", $uri))
            {
                return false;
            }
        }
        return true;
    }
private function isAccessAuthorized($uri)
    {
        foreach ($this->forbiddenUriPatterns as $forbiddenUriPattern)
        {
            if (preg_match("@$forbiddenUriPattern@", $uri))
            {
                return false;
            }
        }
        return true;
    }
private function isAccessAuthorized ( $ uri ) { foreach ( $ this -> forbiddenUriPatterns as $ forbiddenUriPattern ) { if ( preg_match ( "@$forbiddenUriPattern@" , $ uri ) ) { return false ; } } return true ; }
Determines if the given URI is blacklisted so that access is prevented.

@param string $uri
@return boolean
Determines if the given URI is blacklisted so that access is prevented .