@since Method available since Release 1.1.0
Parameters
string $path:
Return value
boolean
File
- drupal/core/vendor/phpunit/php-file-iterator/File/Iterator.php, line 139
Class
- File_Iterator
- FilterIterator implementation that filters files based on prefix(es) and/or
suffix(es). Hidden files and files from hidden directories are also filtered.
Code
protected function acceptPath($path) {
foreach ($this->exclude as $exclude) {
if (strpos($path, $exclude) === 0) {
return FALSE;
}
}
return TRUE;
}