RewindableGenerator

RewindableGenerator

class RewindableGenerator implements IteratorAggregate, Countable

Methods

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

Details

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

Parameters

callable $generator
int|callable $count

getIterator()

count()

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部