class RecursiveDirectoryIterator extends RecursiveDirectoryIterator

Extends the \RecursiveDirectoryIterator to support relative paths.

Methods

__construct(string $path, int $flags, bool $ignoreUnreadableDirs = false)

No description

current()

Return an instance of SplFileInfo with support for relative paths.

getChildren()

No description

rewind()

Do nothing for non rewindable stream.

bool
isRewindable()

Checks if the stream is rewindable.

Details

at line 42
__construct(string $path, int $flags, bool $ignoreUnreadableDirs = false)

Parameters

string $path
int $flags
bool $ignoreUnreadableDirs

Exceptions

RuntimeException

at line 61
SplFileInfo current()

Return an instance of SplFileInfo with support for relative paths.

Return Value

SplFileInfo File information

at line 81
RecursiveIterator getChildren()

Return Value

RecursiveIterator

Exceptions

AccessDeniedException

at line 109
rewind()

Do nothing for non rewindable stream.

at line 123
bool isRewindable()

Checks if the stream is rewindable.

Return Value

bool true when the stream is rewindable, false otherwise