| Total Complexity | 1 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | trait ContainerInjectableTrait |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var ContainerInterface $di the dependency/service container. |
||
| 15 | */ |
||
| 16 | protected $di; |
||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | /** |
||
| 21 | * Set the dependency/service container to use. |
||
| 22 | * |
||
| 23 | * @param ContainerInterface $di a dependency/service container |
||
| 24 | * |
||
| 25 | * @return self |
||
| 26 | */ |
||
| 27 | public function setDI(ContainerInterface $di) |
||
| 33 |