| 1 | <?php |
||
| 18 | trait ContainerAwareTrait |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var ContainerInterface |
||
| 22 | */ |
||
| 23 | private $container; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Set a container instance |
||
| 27 | * |
||
| 28 | * @param ContainerInterface $container |
||
| 29 | */ |
||
| 30 | public function setContainer(ContainerInterface $container) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Get the container instance |
||
| 37 | * |
||
| 38 | * @return ContainerInterface |
||
| 39 | */ |
||
| 40 | public function getContainer() |
||
| 44 | } |
||
| 45 |