src/Behat/Behat/Context/ServiceContainer/ContextExtension.php
private function loadSnippetGenerators(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Context\Snippet\Generator\ContextSnippetGenerator', array(
            new Reference(DefinitionExtension::PATTERN_TRANSFORMER_ID)
        ));
        $definition->addTag(SnippetExtension::GENERATOR_TAG, array('priority' => 50));
        $container->setDefinition(self::CONTEXT_SNIPPET_GENERATOR_ID, $definition);
    }
private function loadSnippetGenerators(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Context\Snippet\Generator\ContextSnippetGenerator', array(
            new Reference(DefinitionExtension::PATTERN_TRANSFORMER_ID)
        ));
        $definition->addTag(SnippetExtension::GENERATOR_TAG, array('priority' => 50));
        $container->setDefinition(self::CONTEXT_SNIPPET_GENERATOR_ID, $definition);
    }
private function loadSnippetGenerators ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Behat\Context\Snippet\Generator\ContextSnippetGenerator' , array ( new Reference ( DefinitionExtension :: PATTERN_TRANSFORMER_ID ) ) ) ; $ definition -> addTag ( SnippetExtension :: GENERATOR_TAG , array ( 'priority' => 50 ) ) ; $ container -> setDefinition ( self :: CONTEXT_SNIPPET_GENERATOR_ID , $ definition ) ; }
Loads context snippet generators.

@param ContainerBuilder $container
Loads context snippet generators .