| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | trait ContainerAwareMethods |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var ContainerInterface |
||
| 23 | */ |
||
| 24 | protected $container; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get container |
||
| 28 | * |
||
| 29 | * @return ContainerInterface |
||
| 30 | */ |
||
| 31 | public function getContainer(): ContainerInterface |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Set container |
||
| 38 | * |
||
| 39 | * @param ContainerInterface $container |
||
| 40 | * |
||
| 41 | * @return self|$this|ContainerAwareMethods |
||
| 42 | */ |
||
| 43 | public function setContainer(ContainerInterface $container): self |
||
| 49 |