1 | <?php declare(strict_types=1); |
||
7 | trait ContainerAwareTrait |
||
8 | { |
||
9 | /** |
||
10 | * @var \Psr\Container\ContainerInterface|null |
||
11 | */ |
||
12 | protected $container; |
||
13 | |||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | 22 | public function getContainer() : ?ContainerInterface |
|
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function setContainer(ContainerInterface $container) : ContainerAwareInterface |
||
31 | } |
||
32 |