Class Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator

InheritanceSymfony\Component\Finder\Iterator\RecursiveDirectoryIterator » RecursiveDirectoryIterator

Extends the \RecursiveDirectoryIterator to support relative paths.

Method Details

__construct() public method

Constructor.

public void __construct ( $path, $flags, $ignoreUnreadableDirs false )
$path string
$flags int
$ignoreUnreadableDirs bool
throws RuntimeException
current() public method

Return an instance of SplFileInfo with support for relative paths.

public Symfony\Component\Finder\SplFileInfo current ( )
return Symfony\Component\Finder\SplFileInfo

File information

getChildren() public method

public RecursiveIterator getChildren ( )
throws Symfony\Component\Finder\Exception\AccessDeniedException
isRewindable() public method

Checks if the stream is rewindable.

public bool isRewindable ( )
return bool

True when the stream is rewindable, false otherwise

rewind() public method

Do nothing for non rewindable stream.

public void rewind ( )