Iterator for children of a directory container.

 Methods

constructor

__construct(array $children) 

Parameters

returns the current child

current() : \org\bovigo\vfs\vfsStreamContent

returns the name of the current child

key() : string

Returns

string

resets children pointer

rewind() 

checks if the current value is valid

valid() : bool

Returns

bool

 Properties

 

list of children from container to iterate over

$children 

type vfsStreamContent[]