| 1 | <?php |
||
| 20 | final class KernelBasedContainerAccessor implements ContainerAccessor |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var KernelInterface |
||
| 24 | */ |
||
| 25 | private $kernel; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param KernelInterface $kernel |
||
| 29 | */ |
||
| 30 | public function __construct(KernelInterface $kernel) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function getService(string $id) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * {@inheritdoc} |
||
| 55 | */ |
||
| 56 | public function getParameters(): array |
||
| 66 | } |
||
| 67 |