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