src/Behat/Behat/Context/ServiceContainer/ContextExtension.php
private function loadEnvironmentHandler(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Context\Environment\Handler\ContextEnvironmentHandler', array(
            new Reference(self::FACTORY_ID),
            new Reference(self::AGGREGATE_RESOLVER_FACTORY_ID)
        ));
        $definition->addTag(EnvironmentExtension::HANDLER_TAG, array('priority' => 50));
        $container->setDefinition(self::getEnvironmentHandlerId(), $definition);
    }
private function loadEnvironmentHandler(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Context\Environment\Handler\ContextEnvironmentHandler', array(
            new Reference(self::FACTORY_ID),
            new Reference(self::AGGREGATE_RESOLVER_FACTORY_ID)
        ));
        $definition->addTag(EnvironmentExtension::HANDLER_TAG, array('priority' => 50));
        $container->setDefinition(self::getEnvironmentHandlerId(), $definition);
    }
private function loadEnvironmentHandler ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Behat\Context\Environment\Handler\ContextEnvironmentHandler' , array ( new Reference ( self :: FACTORY_ID ) , new Reference ( self :: AGGREGATE_RESOLVER_FACTORY_ID ) ) ) ; $ definition -> addTag ( EnvironmentExtension :: HANDLER_TAG , array ( 'priority' => 50 ) ) ; $ container -> setDefinition ( self :: getEnvironmentHandlerId ( ) , $ definition ) ; }
Loads context environment handlers.

@param ContainerBuilder $container
Loads context environment handlers .