Check whether the current element of the iterator is acceptable.
Files are checked for allowed extensions and ignore patterns. Directories are checked for ignore patterns only.
Overridden in child classes as:
- ExactMatch::accept()
- Check whether the current element of the iterator is acceptable.
\RecursiveIterator getChildren(
)
|
|
Returns an iterator for the current entry.
Ensures that the ignore patterns are preserved so they don't have to be generated each time.
Overridden in child classes as:
- ExactMatch::getChildren()
- Returns an iterator for the current entry.
bool shouldProcessFile(
string
$path)
|
|
Checks filtering rules to see if a file should be checked.
Checks both file extension filters and path ignore filters.
Parameters: