| 1 | <?php declare(strict_types=1); |
||
| 7 | trait ContainerAwareTrait |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var \Psr\Container\ContainerInterface |
||
| 11 | */ |
||
| 12 | protected $container; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Get container. |
||
| 16 | * |
||
| 17 | * @return ?\Psr\Container\ContainerInterface |
||
|
|
|||
| 18 | */ |
||
| 19 | 21 | public function getContainer() : ?ContainerInterface |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Set container. |
||
| 26 | * |
||
| 27 | * @param \Psr\Container\ContainerInterface $container |
||
| 28 | * |
||
| 29 | * @return \League\Route\ContainerAwareInterface |
||
| 30 | */ |
||
| 31 | public function setContainer(ContainerInterface $container) : ContainerAwareInterface |
||
| 37 | } |
||
| 38 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.