| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | trait ContainerTrait |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var ContainerInterface |
||
| 18 | */ |
||
| 19 | protected $container; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return ContainerInterface |
||
| 23 | */ |
||
| 24 | 2 | public function getContainer(): ContainerInterface |
|
| 25 | { |
||
| 26 | 2 | return $this->container; |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param ContainerInterface $container |
||
| 31 | */ |
||
| 32 | 2 | public function setContainer(ContainerInterface $container) |
|
| 35 | } |
||
| 36 | } |