src/Utilities/CopyFileManager/GlobMatcher/GlobMatcher.php
public static function matchAny($relativePath, $globExpressionList)
    {
        $globMatcher = new WebmozartGlobMatcher();
        $globListMatcher = new GlobListMatcher($globMatcher);

        return $globListMatcher->matchAny($relativePath, $globExpressionList);
    }
public static function matchAny($relativePath, $globExpressionList)
    {
        $globMatcher = new WebmozartGlobMatcher();
        $globListMatcher = new GlobListMatcher($globMatcher);

        return $globListMatcher->matchAny($relativePath, $globExpressionList);
    }
@param string $relativePath       Relative path to match against.
@param array  $globExpressionList List of glob expressions, e.g. ["*.txt", "*.pdf"].

@return bool True if given path matches any of given glob expression.