class RewindableGenerator implements IteratorAggregate, Countable

Methods

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

No description

getIterator()

No description

count()

No description

Details

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

Parameters

callable $generator
int|callable $count

getIterator()

count()