dhii/iterator-helper-base
最新稳定版本:v0.1-alpha2
Composer 安装命令:
composer require dhii/iterator-helper-base
包简介
Common functionality for working with iterables
README 文档
README
Common functionality for working with iterables.
Traits
ResolveIteratorCapableTrait- Retrieves the deepest iterator within a depth limit in an iterator hierarchy, where every parent is anIteratorAggregate. Can use a complex test to look for things that are not only iterators. Detects some signs of infinite recursion.CountIterableCapableTrait- Counts elements in an iterable which passes normalization byNormalizeIterableCapableTrait. Uses the most optimal method for retrieving the count.NormalizeIteratorCapableTrait- Normalizes any iterable that passes normalization byNormalizeIterableCapableTraitinto an instance ofIterator.MapIterableCapableTrait- Maps an iterable, similarly toarray_map()oriterator_apply().
统计信息
- 总下载量: 11.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 11
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-10