1 | <?php |
||
17 | class Base implements Controller |
||
18 | { |
||
19 | /** |
||
20 | * DI container. |
||
21 | * |
||
22 | * @var \Interop\Container\ContainerInterface |
||
23 | */ |
||
24 | protected $container; |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | 1 | */ |
|
29 | final public function setContainer(ContainerInterface &$container) |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | 1 | */ |
|
37 | final public function getContainer() |
||
41 | |||
42 | /** |
||
43 | * Bridge container get. |
||
44 | * |
||
45 | * @param string $name |
||
46 | 1 | */ |
|
47 | final public function __get($name) |
||
51 | |||
52 | /** |
||
53 | * Bridge container has. |
||
54 | * |
||
55 | * @param string $name |
||
56 | 1 | */ |
|
57 | final public function __isset($name) |
||
61 | } |
||
62 |