vfsStreamContainerIterator.php

Show: inherited
Table of Contents

Iterator for children of a directory container.

Package
bovigo_vfs  

\vfsStreamContainerIterator

Package: bovigo\vfs

Iterator for children of a directory container.

Parent(s)
?\Iterator

Properties

Propertyprotected\array<vfsStreamContent>  $children= 'array()'

list of children from container to iterate over

Default valuearray()Details
Type
\array<vfsStreamContent>

Methods

methodpublic__construct( \array<vfsStreamContent> $children ) : void

constructor

Parameters
Name Type Description
$children \array<vfsStreamContent>
methodpubliccurrent( ) : \vfsStreamContent

returns the current child

Returns
Type Description
\vfsStreamContent
methodpublickey( ) : string

returns the name of the current child

Returns
Type Description
string
methodpublicnext( ) : void

iterates to next child

methodpublicrewind( ) : void

resets children pointer

methodpublicvalid( ) : bool

checks if the current value is valid

Returns
Type Description
bool
Documentation was generated by DocBlox 0.18.1.