src/Zicht/Bundle/UrlBundle/Aliasing/Listener.php
protected function isExcluded($url)
    {
        $ret = false;
        foreach ($this->excludePatterns as $pattern) {
            if (preg_match($pattern, $url)) {
                $ret = true;
                break;
            }
        }
        return $ret;
    }
protected function isExcluded($url)
    {
        $ret = false;
        foreach ($this->excludePatterns as $pattern) {
            if (preg_match($pattern, $url)) {
                $ret = true;
                break;
            }
        }
        return $ret;
    }
protected function isExcluded ( $ url ) { $ ret = false ; foreach ( $ this -> excludePatterns as $ pattern ) { if ( preg_match ( $ pattern , $ url ) ) { $ ret = true ; break ; } } return $ ret ; }
Returns true if the URL matches any of the exclude patterns

@param string $url
@return bool
Returns true if the URL matches any of the exclude patterns