PHP Class org\bovigo\vfs\vfsStreamContainerIterator

Inheritance: implements Iterator
Afficher le fichier Open project: mikey179/vfsstream

Protected Properties

Свойство Type Description
$children list of children from container to iterate over

Méthodes publiques

Méthode Description
__construct ( array $children ) constructor
current ( ) : org\bovigo\vfs\vfsStreamContent returns the current child
key ( ) : string returns the name of the current child
next ( ) iterates to next child
rewind ( ) resets children pointer
valid ( ) : boolean checks if the current value is valid

Method Details

__construct() public méthode

constructor
public __construct ( array $children )
$children array

current() public méthode

returns the current child
public current ( ) : org\bovigo\vfs\vfsStreamContent
Résultat org\bovigo\vfs\vfsStreamContent

key() public méthode

returns the name of the current child
public key ( ) : string
Résultat string

next() public méthode

iterates to next child
public next ( )

rewind() public méthode

resets children pointer
public rewind ( )

valid() public méthode

checks if the current value is valid
public valid ( ) : boolean
Résultat boolean

Property Details

$children protected_oe property

list of children from container to iterate over
protected $children