| 1 | <?php |
||
| 16 | final class KernelBasedContainerAccessor implements ContainerAccessor |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var KernelInterface |
||
| 20 | */ |
||
| 21 | private $kernel; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param KernelInterface $kernel |
||
| 25 | */ |
||
| 26 | public function __construct(KernelInterface $kernel) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function getService($id) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function getParameter($id) |
||
| 46 | } |
||
| 47 |