| 1 | <?php |
||
| 8 | class GroupByMutator extends Mutator |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Creates an object composed of keys generated from the results |
||
| 12 | * of running each element of a collection through the callback |
||
| 13 | * |
||
| 14 | * @param Collection $collection |
||
| 15 | * @param callable $iterator |
||
| 16 | * @return Collection |
||
| 17 | */ |
||
| 18 | 3 | public function __invoke($collection, $iterator) |
|
| 28 | } |
||
| 29 |