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