| 1 | <?php |
||
| 12 | class ContainerAwareCommand extends Command implements ContainerAwareInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var ContainerInterface|null |
||
| 16 | */ |
||
| 17 | private $container; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return ContainerInterface |
||
| 21 | * |
||
| 22 | * @throws \LogicException |
||
| 23 | */ |
||
| 24 | protected function getContainer() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Sets the container. |
||
| 35 | * |
||
| 36 | * @param ContainerInterface|null $container A ContainerInterface instance or null |
||
| 37 | */ |
||
| 38 | public function setContainer(ContainerInterface $container = null) |
||
| 42 | } |
||
| 43 |