Work easily with arrays and iterators by having a battery of utility traversal methods

Repo Url https://github.com/cakephp/collection
Clone Url:
Watchers 17
Issues 0
Forks 2
Last Pushed At 2016-04-25
Tags has:composer has:license has:readme keyword:arrays keyword:collections keyword:iterators license:mit version:4.x
Last fetched: on 1/3/20

Recent Activity

Date Commit Message
2025-01-17 Rector changes after merge
2025-01-17 phpstan 2.0 (#18014) * get ready for phpstan 2.0 * undo array_values fix * add review changes * fix stan * phpstan 2.0 * fix phpstan for split packages * fix phpstan for tests * re-add method_exists * Apply suggestions from code review Co-authored-by: ADmad --------- Co-authored-by: ADmad
2025-01-17 Merge 5.x into 5.next
2025-01-17 Fix CS as per trailing comma rules. (#18047)
2025-01-17 Merge 5.x into 5.next
2025-01-17 Fix typos and small cleanup.
2025-01-17 CS: Trailing comma on function calls (#18032) * CS: Trailing comma on function calls * Fix CS. * Fix CS. * Remove debug call --------- Co-authored-by: Mark Story
2025-01-17 Fix up docblocks and code cleanup.
2025-01-17 Allow specifying key when emitting intermediate value for MapReduce
2025-01-17 Merge 5.x into 5.next
2025-01-17 Fix up list array.
2025-01-17 Allow input param to be a normal array list instead of strict phpstan one.
2025-01-17 cleanup
2025-01-17 Fix docblock
2025-01-17 Remove redundant condition
2025-01-17 Concise code
2025-01-17 Remove unneeded property assignment
2025-01-17 Remove unneeded collection creation. The items are simply iterated later and it's already an iterable.
2025-01-17 Remove unneeded impleemnts. CollectionInterface itself implements Countable
2025-01-17 Allow preserving keys when using Collection::groupBy(). Refs #17870
2024-12-13 Allow input param to be a normal array list instead of strict phpstan one.
2024-12-13 Fix up docblocks and code cleanup.
2024-12-13 CS: Trailing comma on function calls (#18032) * CS: Trailing comma on function calls * Fix CS. * Fix CS. * Remove debug call --------- Co-authored-by: Mark Story
2024-12-13 Fix typos and small cleanup.
2024-12-13 Fix CS as per trailing comma rules. (#18047)
2024-11-10 cleanup