1 | <?php |
||
33 | trait ContainerAwareTrait |
||
34 | { |
||
35 | /** |
||
36 | * @var ContainerInterface |
||
37 | * @access protected |
||
38 | */ |
||
39 | protected $container; |
||
40 | |||
41 | /** |
||
42 | * {@inheritDoc} |
||
43 | */ |
||
44 | public function setContainer(ContainerInterface $container) |
||
49 | |||
50 | /** |
||
51 | * {@inheritDoc} |
||
52 | */ |
||
53 | public function getContainer()/*# : ContainerInterface */ |
||
63 | |||
64 | /** |
||
65 | * {@inheritDoc} |
||
66 | */ |
||
67 | public function hasContainer()/*# : bool */ |
||
71 | } |
||
72 |