Finder
Finder
class Finder implements IteratorAggregate, Countable
Finder allows to build rules to find files and directories.
It is a thin wrapper around several specialized iterator classes.
All rules may be invoked several times.
All methods return the current Finder object to allow easy chaining:
$finder = Finder::create()->files()->name('*.php')->in(DIR);
Constants
IGNORE_VCS_FILES | |
IGNORE_DOT_FILES |
Methods
__construct() Construct |