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