Symfony\Component\Finder\Iterator\FilePathsIterator
Iterate over shell command result.
- Author: Jean-François Simon <contact@jfsimon.fr>
Synopsis
class FilePathsIterator
extends ArrayIterator
{
- // members
- private string $baseDir;
- private int $baseDirLength;
- private string $subPath;
- private string $subPathname;
- private SplFileInfo $current;
- // methods
- public void __construct()
- public mixed __call()
- public SplFileInfo current()
- public string key()
- public void next()
- public void rewind()
- public string getSubPath()
- public string getSubPathname()
- private void buildProperties()
- // Inherited methods from ArrayIterator
- public void append()
- public void asort()
- public void __construct()
- public int count()
- public mixed current()
- public array getArrayCopy()
- public void getFlags()
- public mixed key()
- public void ksort()
- public void natcasesort()
- public void natsort()
- public void next()
- public void offsetExists()
- public mixed offsetGet()
- public void offsetSet()
- public void offsetUnset()
- public void rewind()
- public void seek()
- public string serialize()
- public void setFlags()
- public void uasort()
- public void uksort()
- public string unserialize()
- public bool valid()
Hierarchy
Extends
Members
private
- $baseDir — string
- $baseDirLength — int
- $current — Symfony\Component\Finder\SplFileInfo
- $subPath — string
- $subPathname — string
Methods
private
public
- __construct()
- __call()
- current() — Return an instance of SplFileInfo with support for relative paths.
- getSubPath()
- getSubPathname()
- key()
- next()
- rewind()
Inherited from ArrayIterator
public
- append() — Append an element
- asort() — Sort array by values
- count() — Count elements
- current() — Return current array entry
- getArrayCopy() — Get array copy
- getFlags() — Get flags
- key() — Return current array key
- ksort() — Sort array by keys
- natcasesort() — Sort an array naturally, case insensitive
- natsort() — Sort an array naturally
- next() — Move to next entry
- offsetExists() — Check if offset exists
- offsetGet() — Get value for an offset
- offsetSet() — Set value for an offset
- offsetUnset() — Unset value for an offset
- rewind() — Rewind array back to the start
- seek() — Seek to position
- serialize() — Serialize
- setFlags() — Set behaviour flags
- uasort() — User defined sort
- uksort() — User defined sort
- unserialize() — Unserialize
- valid() — Check whether array contains more entries