Inheritance: extends Symfony\Component\HttpKernel\DependencyInjection\Extension
 private function createContainer($configs)
 {
     $container = new ContainerBuilder();
     $extension = new BeberleiMetricsExtension();
     $extension->load(array($configs), $container);
     // Needed for logger collector
     $container->setDefinition('logger', new Definition('Psr\\Log\\NullLogger'));
     $container->compile();
     return $container;
 }
 private function createContainer($configs, $additionalServices = array())
 {
     $container = new ContainerBuilder();
     $extension = new BeberleiMetricsExtension();
     $extension->load(array($configs), $container);
     // Needed for logger collector
     $container->setDefinition('logger', new Definition('Psr\\Log\\NullLogger'));
     foreach ($additionalServices as $serviceId => $additionalService) {
         $container->set($serviceId, $additionalService);
     }
     $container->compile();
     return $container;
 }