| 1 | <?php |
||
| 7 | class CompositeContainer implements ContainerInterface |
||
| 8 | { |
||
| 9 | /** @var ContainerInterface[] */ |
||
| 10 | private $containers = []; |
||
| 11 | |||
| 12 | public function addContainer(ContainerInterface $delegateContainer) |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @throws NotFoundExceptionInterface |
||
| 19 | * |
||
| 20 | * @return mixed |
||
| 21 | */ |
||
| 22 | public function get(string $serviceId) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return bool |
||
| 34 | */ |
||
| 35 | public function has(string $serviceId) |
||
| 44 | } |
||
| 45 |