Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator
Extends the \RecursiveDirectoryIterator to support relative paths
- Author: Victor Berchet <victor@suumit.com>
Synopsis
class RecursiveDirectoryIterator
extends RecursiveDirectoryIterator
{
- // members
- private boolean $ignoreUnreadableDirs;
- private Boolean $rewindable;
- // methods
- public void __construct()
- public SplFileInfo current()
- public RecursiveIterator getChildren()
- public void rewind()
- public Boolean isRewindable()
- // Inherited methods from RecursiveDirectoryIterator
- public void __construct()
- public mixed getChildren()
- public string getSubPath()
- public string getSubPathname()
- public bool hasChildren()
- public string key()
- public void next()
- public void rewind()
- public void __construct()
- public mixed current()
- public int getFlags()
- public string key()
- public void next()
- public void rewind()
- public void setFlags()
Hierarchy
Extends
Members
private
- $ignoreUnreadableDirs — boolean
- $rewindable — Symfony\Component\Finder\Iterator\Boolean
Methods
public
- __construct() — Constructor.
- current() — Return an instance of SplFileInfo with support for relative paths
- getChildren()
- isRewindable() — Checks if the stream is rewindable.
- rewind() — Do nothing for non rewindable stream
Inherited from RecursiveDirectoryIterator
public
- current()
- getChildren() — Returns an iterator for the current entry if it is a directory
- getFlags()
- getSubPath() — Get sub path
- getSubPathname() — Get sub path and name
- hasChildren() — Returns whether current entry is a directory and not '.' or '..'
- key() — Return path and filename of current dir entry
- key()
- next() — Move to next entry
- next()
- rewind() — Rewind dir back to the start
- rewind()
- setFlags()