| 1 | <?php |
||
| 17 | class Collection extends CecilCollection |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Return a Vocabulary collection (creates it if not exists). |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | /* |
||
| 24 | public function get(string $id): ItemInterface |
||
| 25 | { |
||
| 26 | if (!$this->has($id)) { |
||
| 27 | $this->add(new Vocabulary($id)); |
||
| 28 | } |
||
| 29 | |||
| 30 | return parent::get($id); |
||
| 31 | } |
||
| 32 | */ |
||
| 33 | } |
||
| 34 |