RecursiveDirectoryIterator
RecursiveDirectoryIterator
class RecursiveDirectoryIterator extends RecursiveDirectoryIterator
Extends the \RecursiveDirectoryIterator to support relative paths.
Methods
__construct(string $path, int $flags, bool $ignoreUnreadableDirs = false) Constructor. | ||
SplFileInfo | current() Return an instance of SplFileInfo with support for relative paths. | |
RecursiveIterator | getChildren() | |
rewind() Do nothing for non rewindable stream. | ||
bool | isRewindable() Checks if the stream is rewindable. |
Details
__construct(string $path, int $flags, bool $ignoreUnreadableDirs = false)
Constructor.
SplFileInfo current()
Return an instance of SplFileInfo with support for relative paths.
RecursiveIterator getChildren()
rewind()
Do nothing for non rewindable stream.
bool isRewindable()
Checks if the stream is rewindable.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Finder/Iterator/RecursiveDirectoryIterator.html