1 | <?php |
||
13 | trait CollectionMethods |
||
14 | { |
||
15 | /** |
||
16 | * @inheritdoc \GenericCollections\Interfaces\BaseCollectionInterface::add |
||
17 | */ |
||
18 | abstract public function add($element); |
||
19 | |||
20 | /** |
||
21 | * @inheritdoc \GenericCollections\Interfaces\BaseCollectionInterface::contains |
||
22 | */ |
||
23 | abstract public function contains($element); |
||
24 | |||
25 | 112 | public function addAll(array $elements) |
|
33 | |||
34 | 1 | public function containsAll(array $elements) |
|
43 | |||
44 | 1 | public function containsAny(array $elements) |
|
53 | } |
||
54 |