class RewindableGenerator implements IteratorAggregate, Countable

Methods

__construct(callable $generator, int|callable $count)

No description

getIterator()

No description

count()

No description

Details

at line 26
__construct(callable $generator, int|callable $count)

Parameters

callable $generator
int|callable $count

at line 32
getIterator()

at line 39
count()