Symfony\Component\Finder\Finder::append
Appends an existing set of files/directories to the finder.
The set can be another Finder, an Iterator, an IteratorAggregate, or even a plain array.
Signature
public function append(mixed
$iterator )
Parameters
$iterator
— mixed
Returns
- Finder
- The finder
Errors/Exceptions
-
InvalidArgumentException
- When the given argument is not iterable.