Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Collection::groupBy() with unique keys #18

Closed
alexeyshockov opened this issue Sep 25, 2012 · 1 comment
Closed

Collection::groupBy() with unique keys #18

alexeyshockov opened this issue Sep 25, 2012 · 1 comment

Comments

@alexeyshockov
Copy link
Owner

In use case, where keys are unique, we not need multi map, but simple map.

I think, this may be achieved with something like: Collection::groupBy($keyFinder, $uniqueKeys = false).

@alexeyshockov
Copy link
Owner Author

Implemented in 62a1c68.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant