Iterates over files whose names match a regular expression in a directory.
Name | Modifiers | Type | Description |
---|---|---|---|
RegexDirectoryIterator::$regex | protected | property | The regular expression to match. |
RegexDirectoryIterator::accept | public | function | Implements \FilterIterator::accept(). |
RegexDirectoryIterator::__construct | public | function | RegexDirectoryIterator constructor. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!FileSystem!RegexDirectoryIterator.php/class/RegexDirectoryIterator/8.1.x