1 | <?php |
||
17 | trait HasCollectionsTrait |
||
18 | { |
||
19 | private function initCollection($name, CollectionInterface $collection) |
||
25 | |||
26 | private function appendTo($name, $value) |
||
30 | |||
31 | /** |
||
32 | * @param string $name the name of the collection |
||
33 | * |
||
34 | * @throws InvalidArgumentException when the collection has not been initialized before |
||
35 | * |
||
36 | * @return CollectionInterface the collection object |
||
37 | */ |
||
38 | private function getCollection($name) |
||
46 | |||
47 | private function hasCollection($name) |
||
51 | } |
||
52 |