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