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