public function isPathCovered($path)
    {
        foreach ($this->patterns as $pattern) {
            if (1 === preg_match('{'.$pattern.'}', $path)) {
                return true;
            }
        }
        return false;
    }
public function isPathCovered($path)
    {
        foreach ($this->patterns as $pattern) {
            if (1 === preg_match('{'.$pattern.'}', $path)) {
                return true;
            }
        }
        return false;
    }
public function isPathCovered ( $ path ) { foreach ( $ this -> patterns as $ pattern ) { if ( 1 === preg_match ( '{' . $ pattern . '}' , $ path ) ) { return true ; } } return false ; }
Check if the provided path is covered by this firewall or not
@param string $path
@return boolean
Check if the provided path is covered by this firewall or not