protected function File_Iterator::acceptSuffix in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-file-iterator/src/Iterator.php \File_Iterator::acceptSuffix()
@since Method available since Release 1.1.0
Parameters
string $filename:
Return value
bool
1 call to File_Iterator::acceptSuffix()
- File_Iterator::accept in vendor/
phpunit/ php-file-iterator/ src/ Iterator.php
File
- vendor/
phpunit/ php-file-iterator/ src/ Iterator.php, line 127
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 acceptSuffix($filename) {
return $this
->acceptSubString($filename, $this->suffixes, self::SUFFIX);
}