1 | <?php |
||
8 | final class ContainerAwareController implements ContainerAwareInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var ContainerInterface |
||
12 | */ |
||
13 | private $container; |
||
14 | |||
15 | /** |
||
16 | * {@inheritdoc} |
||
17 | */ |
||
18 | public function setContainer(ContainerInterface $container = null) |
||
19 | { |
||
20 | $this->container = $container; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return ContainerInterface |
||
25 | */ |
||
26 | public function getContainer() |
||
27 | { |
||
28 | return $this->container; |
||
29 | } |
||
30 | } |
||
31 |