| 1 | <?php |
||
| 12 | trait DifferenceTrait |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Returns a DifferenceIterator containing elements in $this but not in $iterable |
||
| 16 | * |
||
| 17 | * @param array|string|\Iterator $iterable |
||
| 18 | * @param null|string|\Closure $strategy Optional, when not specified !empty will be used |
||
| 19 | * @return DifferenceIterator |
||
| 20 | */ |
||
| 21 | 7 | public function difference($iterable, $strategy = null) |
|
| 29 | } |
||
| 30 |