| 1 | <?php |
||
| 14 | abstract class MutableContainer implements MutableContainerInterface |
||
| 15 | { |
||
| 16 | /** @var ItemInterface[] */ |
||
| 17 | private $items = []; |
||
| 18 | |||
| 19 | public function add(ItemInterface $item): void |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return \Everlution\Navigation\Item\ItemInterface[] |
||
| 26 | */ |
||
| 27 | public function getItems(): array |
||
| 31 | |||
| 32 | public function get(string $name): ItemInterface |
||
| 36 | |||
| 37 | public function reset(): void |
||
| 41 | } |
||
| 42 |