| 1 | <?php |
||
| 9 | class CompositeContainer implements ContainerInterface |
||
| 10 | {
|
||
| 11 | protected $containers = []; |
||
| 12 | |||
| 13 | 6 | public function __construct(array $containers = []) |
|
| 20 | |||
| 21 | 4 | public function push(ContainerInterface $container): self |
|
| 32 | |||
| 33 | 1 | public function pop(): ?ContainerInterface |
|
| 44 | |||
| 45 | 3 | public function get($id) |
|
| 57 | |||
| 58 | 2 | public function has($id): bool |
|
| 70 | } |