| 1 | <?php |
||
| 9 | abstract class AbstractContainer |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $store = []; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @return bool |
||
| 18 | */ |
||
| 19 | 2 | public function isEmpty(): bool |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @return int |
||
| 26 | */ |
||
| 27 | 3 | public function count(): int |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | 1 | public function asArray(): array |
|
| 39 | |||
| 40 | 1 | public function clear(): void |
|
| 44 | } |