PHP Basics

IteratorAggregateTrait

A generic implementation of the IteratorAggregate interface.

Internally it iterates over the protected $_data array.

Tags
author

Sebastian Meyer sebastian.meyer@opencultureconsulting.com

template

TValue of mixed

Table of Contents

Methods

getIterator()  : ArrayIterator<string|int, TValue>
Retrieve an external iterator.

Methods

getIterator()

Retrieve an external iterator.

public getIterator() : ArrayIterator<string|int, TValue>
APIYes
Return values
ArrayIterator<string|int, TValue>

New iterator for the data array


        
On this page

Search results