| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | trait ContainerAwareTrait |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var ContainerInterface |
||
| 27 | */ |
||
| 28 | protected $container; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Inject the container |
||
| 32 | * |
||
| 33 | * @param ContainerInterface $container |
||
| 34 | * @return $this |
||
| 35 | */ |
||
| 36 | public function setContainer(ContainerInterface $container) |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritDoc} |
||
| 44 | */ |
||
| 45 | public function getContainer(): ContainerInterface |
||
| 51 | } |
||
| 52 | } |