PHP Interface Pinq\Iterators\Generators\IGenerator

The IGenerator class is able to be used with foreach-by-ref.
Author: Elliot Levin ([email protected])
Inheritance: extends IteratorAggregate, extends Pinq\Iterators\IIterator
Show file Open project: timetoogo/pinq Interface Usage Examples

Public Methods

Method Description
getIterator ( ) : Generator Returns a new generator instance.

Method Details

getIterator() public method

Returns a new generator instance.
public getIterator ( ) : Generator
return Generator