| 1 | <?php  | 
            ||
| 8 | class RejectMutator extends Mutator  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * The opposite of filter(). This mutator returns the elements of a collection that the callback  | 
            ||
| 12 | * does **not** return truey for.  | 
            ||
| 13 | *  | 
            ||
| 14 | * @param Collection $collection  | 
            ||
| 15 | * @param callable $iterator  | 
            ||
| 16 | * @return Collection  | 
            ||
| 17 | */  | 
            ||
| 18 | 3 | public function __invoke($collection, $iterator)  | 
            |
| 26 | }  | 
            ||
| 27 |