| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | trait SetContainerTrait |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var ContainerInterface |
||
| 24 | */ |
||
| 25 | protected $container; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * SetContainerTrait constructor. |
||
| 29 | * @param ContainerInterface $container |
||
| 30 | */ |
||
| 31 | public function __construct(ContainerInterface $container) |
||
| 32 | { |
||
| 33 | $this->container = $container; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return ContainerInterface |
||
| 38 | */ |
||
| 39 | public function container(): ContainerInterface |
||
| 42 | } |
||
| 43 | } |
||
| 44 |