| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | trait Differentiating |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @see Differentiable::differenceBetween() |
||
| 25 | * @param Collection[] ...$others |
||
| 26 | * @return static |
||
| 27 | */ |
||
| 28 | public function differenceBetween(Collection ...$others) |
||
| 39 | } |
||
| 40 | )); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** @see Collection::items() */ |
||
| 44 | abstract public function items(): array; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @see ImmutableCollection::newCopy() |
||
| 48 | * @param array $items |
||
| 49 | * @return static |
||
| 50 | */ |
||
| 51 | abstract protected function newCopy(array $items): Collection; |
||
| 52 | } |