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
template

Table of Contents

Methods

getIterator()  : ArrayIterator<TKey, TValue>
Retrieve an external iterator.

Methods

getIterator()

Retrieve an external iterator.

public getIterator() : ArrayIterator<TKey, TValue>
APIYes
Return values
ArrayIterator<TKey, TValue>

New iterator for the data array


        
On this page

Search results