\Symfony\Component\Finder\IteratorRecursiveDirectoryIterator

Extends the \RecursiveDirectoryIterator to support relative paths.

Summary

Methods
Properties
Constants
__construct()
current()
getChildren()
rewind()
isRewindable()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$ignoreUnreadableDirs
$rewindable
$rootPath
$subPath
$directorySeparator
N/A

Properties

$ignoreUnreadableDirs

$ignoreUnreadableDirs : boolean

Type

boolean

$rewindable

$rewindable : boolean

Type

boolean

$rootPath

$rootPath : 

Type

$subPath

$subPath : 

Type

$directorySeparator

$directorySeparator : 

Type

Methods

__construct()

__construct(\Symfony\Component\Finder\Iterator\string  $path, \Symfony\Component\Finder\Iterator\int  $flags, \Symfony\Component\Finder\Iterator\bool  $ignoreUnreadableDirs = false) 

Parameters

\Symfony\Component\Finder\Iterator\string $path
\Symfony\Component\Finder\Iterator\int $flags
\Symfony\Component\Finder\Iterator\bool $ignoreUnreadableDirs

Throws

\RuntimeException

current()

current() : \Symfony\Component\Finder\SplFileInfo

Return an instance of SplFileInfo with support for relative paths.

Returns

\Symfony\Component\Finder\SplFileInfo

File information

getChildren()

getChildren() : \RecursiveIterator

Throws

\Symfony\Component\Finder\Exception\AccessDeniedException

Returns

\RecursiveIterator

rewind()

rewind() 

Do nothing for non rewindable stream.

isRewindable()

isRewindable() : boolean

Checks if the stream is rewindable.

Returns

boolean —

true when the stream is rewindable, false otherwise