[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/symfony/finder/Iterator/ -> MultiplePcreFilterIterator.php (summary)

MultiplePcreFilterIterator filters files using patterns (regexps, globs or strings).

Author: Fabien Potencier <fabien@symfony.com>
File Size: 112 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions


Functions that are not part of a class:

__construct(\Iterator $iterator, array $matchPatterns, array $noMatchPatterns)   X-Ref

param: \Iterator $iterator        The Iterator to filter
param: array     $matchPatterns   An array of patterns that need to match
param: array     $noMatchPatterns An array of patterns that need to not match

isAccepted($string)   X-Ref
Checks whether the string is accepted by the regex filters.

If there is no regexps defined in the class, this method will accept the string.
Such case can be handled by child classes before calling the method if they want to
apply a different behavior.

param: string $string The string to be matched against filters
return: bool

isRegex($str)   X-Ref
Checks whether the string is a regex.

param: string $str
return: bool Whether the given string is a regex

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1