| 1 | <?php |
||
| 13 | trait CollectionUpdaterTrait |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param Collection $collection Collection to update |
||
| 17 | * @param array $input Array of comparators for e.g. id's |
||
| 18 | * @param callable $extractComparator A callback to extract comparator from Element |
||
| 19 | * @param callable $createElement A callback to create new element for Collection |
||
| 20 | * @param callable|null $removeElement A callback to remove an element for Collection |
||
| 21 | * |
||
| 22 | * @return Collection |
||
| 23 | */ |
||
| 24 | 3 | public function updateCollection( |
|
| 57 | } |