Bitrix API

FixedArrayIterator implements Iterator

FinalYes

Class FixedArrayIterator The class is used for realize iterator for \SplFixedArray on php7.

Table of Contents

Interfaces

Iterator

Methods

__construct()  : mixed
current()  : mixed
Return the current element
key()  : mixed
Return the key of the current element
next()  : void
Move forward to next element
rewind()  : void
Rewind the Iterator to the first element
valid()  : bool
Checks if current position is valid

Methods

__construct()

public __construct(SplFixedArray $fixedArray) : mixed
Parameters
$fixedArray : SplFixedArray

        
On this page

Search results