class RegexDirectoryIterator

Iterates over files whose names match a regular expression in a directory.

Hierarchy

File

core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php, line 8

Namespace

Drupal\Component\FileSystem

Members

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