1 | <?php |
||
14 | class InteropContainer extends AbstractContainer implements PsrContainerInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var \Zapheus\Container\ContainerInterface |
||
18 | */ |
||
19 | protected $container; |
||
20 | |||
21 | /** |
||
22 | * Initializes the container instance. |
||
23 | * |
||
24 | * @param \Zapheus\Container\ContainerInterface $container |
||
25 | */ |
||
26 | 6 | public function __construct(ContainerInterface $container) |
|
30 | |||
31 | /** |
||
32 | * Calls methods from \Zapheus\Container\Container. |
||
33 | * |
||
34 | * @param string $method |
||
35 | * @param mixed $parameters |
||
36 | * @return mixed |
||
37 | */ |
||
38 | 6 | public function __call($method, $parameters) |
|
44 | } |
||
45 |