private function isMatchInList($relativePath, $globExpressionList)
    {
        foreach ($globExpressionList as $globExpression) {
            if ($this->globMatcher->match($relativePath, $globExpression)) {
                return true;
            }
        }

        return false;
    }
private function isMatchInList($relativePath, $globExpressionList)
    {
        foreach ($globExpressionList as $globExpression) {
            if ($this->globMatcher->match($relativePath, $globExpression)) {
                return true;
            }
        }

        return false;
    }
private function isMatchInList ( $ relativePath , $ globExpressionList ) { foreach ( $ globExpressionList as $ globExpression ) { if ( $ this -> globMatcher -> match ( $ relativePath , $ globExpression ) ) { return true ; } } return false ; }
Returns true if the supplied globMatcher indicates a match for at least one item in given glob expression list.

@param string $relativePath
@param array  $globExpressionList List of glob expressions, e.g. ["*.txt", "*.pdf"].

@return bool
Returns true if the supplied globMatcher indicates a match for at least one item in given glob expression list .