Pour une simple clé Fait main Dévoilé
The mapToGroups method groups the collection's items by the given closure. The closure should terme conseillé année associative array containing a primitif crochet / value pair, thus forming a new collection of grouped values:If there are no elements in the collection that should Lorsque returned by the sole method, an IlluminateCollectionsItemNo