protected function File_Iterator::acceptPrefix

@since Method available since Release 1.1.0

Parameters

string $filename:

Return value

boolean

1 call to File_Iterator::acceptPrefix()
File_Iterator::accept in drupal/core/vendor/phpunit/php-file-iterator/File/Iterator.php

File

drupal/core/vendor/phpunit/php-file-iterator/File/Iterator.php, line 155

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 acceptPrefix($filename) {
  return $this
    ->acceptSubString($filename, $this->prefixes, self::PREFIX);
}