src/Bex/Behat/ScreenshotExtension/ServiceContainer/Config.php
public function loadServices(ContainerBuilder $container)
    {
        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/config'));
        $loader->load('services.xml');
        $this->imageDrivers = $this->driverLocator->findDrivers(
            $container,
            $this->imageDriverKeys,
            $this->imageDriverConfigs
        );
    }
public function loadServices(ContainerBuilder $container)
    {
        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/config'));
        $loader->load('services.xml');
        $this->imageDrivers = $this->driverLocator->findDrivers(
            $container,
            $this->imageDriverKeys,
            $this->imageDriverConfigs
        );
    }
public function loadServices ( ContainerBuilder $ container ) { $ loader = new XmlFileLoader ( $ container , new FileLocator ( __DIR__ . '/config' ) ) ; $ loader -> load ( 'services.xml' ) ; $ this -> imageDrivers = $ this -> driverLocator -> findDrivers ( $ container , $ this -> imageDriverKeys , $ this -> imageDriverConfigs ) ; }
Init service container and load image drivers

@param  ContainerBuilder $container
Init service container and load image drivers