scalikephp

ClosureIterator implements IteratorAggregate

ClosureIterator - Rewindable iterator generated by closure.

Interfaces, Classes and Traits

IteratorAggregate

Table of Contents

__construct()  : mixed
Constructor.
getIterator()  : Iterator

Methods

__construct()

Constructor.

public __construct(Closure $closure) : mixed

The constructor of ClosureIterator.

Parameters
$closure : Closure
Return values
mixed

getIterator()

public getIterator() : Iterator
Return values
Iterator

Search results