killertux/riterator
最新稳定版本:0.5.2
Composer 安装命令:
composer require killertux/riterator
包简介
Rust iterators in PHP
README 文档
README
Have you ever wanted you could use an iterator in PHP that was very similar to that of Rust. Or maybe you just want a more powerful iterator in PHP. Maybe PHP iterators are giving you chills with all that rewind and key methods... Well, you just found what you were looking for.
RIterator (rust iterator) tries to implement an iterator that very closely resembles that of rust. To start, just add this project to your composer, extends the class RIterator\Iterator, and implement your next function.
First, I tried to add an Option class as we have in Rust. Then, I decided to remove it and use null because this is probably more PHP idiomatic. But, I am open to suggestions.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-28