| 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 | * @param string $serviceId |
||
| 21 | * @return mixed |
||
| 22 | */ |
||
| 23 | public function get($serviceId) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $serviceId |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | public function has($serviceId) |
||
| 46 | } |
||
| 47 |