Symfony\Component\Finder\Finder::getIterator
Returns an Iterator for the current Finder configuration.
This method implements the IteratorAggregate interface.
Signature
public function getIterator()
Returns
- Iterator
- An iterator
Errors/Exceptions
-
LogicException
- if the in() method has not been called