1 | <?php |
||
7 | trait ContainerAwareTrait |
||
8 | { |
||
9 | /** |
||
10 | * @var \Psr\Container\ContainerInterface |
||
11 | */ |
||
12 | protected $container; |
||
13 | |||
14 | /** |
||
15 | * Get container. |
||
16 | * |
||
17 | * @return \Psr\Container\ContainerInterface |
||
18 | */ |
||
19 | 6 | public function getContainer() |
|
23 | |||
24 | /** |
||
25 | * Set container. |
||
26 | * |
||
27 | * @param \Psr\Container\ContainerInterface $container |
||
28 | * |
||
29 | * @return self |
||
30 | */ |
||
31 | 27 | public function setContainer(ContainerInterface $container) |
|
37 | } |
||
38 |