src/Behat/Behat/Context/ServiceContainer/ContextExtension.php
private function loadFactory(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Context\ContextFactory', array(
            new Reference(ArgumentExtension::CONSTRUCTOR_ARGUMENT_ORGANISER_ID)
        ));
        $container->setDefinition(self::FACTORY_ID, $definition);
    }
private function loadFactory(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Context\ContextFactory', array(
            new Reference(ArgumentExtension::CONSTRUCTOR_ARGUMENT_ORGANISER_ID)
        ));
        $container->setDefinition(self::FACTORY_ID, $definition);
    }
private function loadFactory ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Behat\Context\ContextFactory' , array ( new Reference ( ArgumentExtension :: CONSTRUCTOR_ARGUMENT_ORGANISER_ID ) ) ) ; $ container -> setDefinition ( self :: FACTORY_ID , $ definition ) ; }
Loads context factory.

@param ContainerBuilder $container
Loads context factory .