PHP Класс org\bovigo\vfs\vfsStreamContainerIterator

Наследование: implements Iterator
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$children list of children from container to iterate over

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

constructor
public __construct ( array $children )
$children array

current() публичный Метод

returns the current child
public current ( ) : org\bovigo\vfs\vfsStreamContent
Результат org\bovigo\vfs\vfsStreamContent

key() публичный Метод

returns the name of the current child
public key ( ) : string
Результат string

next() публичный Метод

iterates to next child
public next ( )

rewind() публичный Метод

resets children pointer
public rewind ( )

valid() публичный Метод

checks if the current value is valid
public valid ( ) : boolean
Результат boolean

Описание свойств

$children защищенное свойство

list of children from container to iterate over
protected $children