public function load(ContainerBuilder $container, array $config)
    {
        $this->bindConfigToContainer($container, $config);

        $loader = new XmlFileLoader(
            $container,
            new FileLocator(__DIR__.'/../Resources/config')
        );

        $loader->load('logger.xml');

        if (true === $config['event_subscriber']['enabled']) {
            $loader->load('event_subscriber.xml');
        }

        if (true === $config['step_logger']['enabled']) {
            $loader->load('behat_step_logger.xml');
        }
    }
public function load(ContainerBuilder $container, array $config)
    {
        $this->bindConfigToContainer($container, $config);

        $loader = new XmlFileLoader(
            $container,
            new FileLocator(__DIR__.'/../Resources/config')
        );

        $loader->load('logger.xml');

        if (true === $config['event_subscriber']['enabled']) {
            $loader->load('event_subscriber.xml');
        }

        if (true === $config['step_logger']['enabled']) {
            $loader->load('behat_step_logger.xml');
        }
    }
{@inheritdoc}