12. Dynamic Service Locator Service Container. Implementation Kirill chEbba Chebunin public function some () { $this -> container -> get ( 'logger' ); }
22. Compiler Pass Service Container. Advanced Kirill chEbba Chebunin interface CompilerPassInterface { /** * You can modify the container here before * it is dumped to PHP code. * * @param ContainerBuilder $container */ function process ( ContainerBuilder $container ); }