src/Behat/Behat/Context/ServiceContainer/ContextExtension.php
private function loadSnippetAppender(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Context\Snippet\Appender\ContextSnippetAppender', array(
            new Reference(FilesystemExtension::LOGGER_ID)
        ));
        $definition->addTag(SnippetExtension::APPENDER_TAG, array('priority' => 50));
        $container->setDefinition(SnippetExtension::APPENDER_TAG . '.context', $definition);
    }
private function loadSnippetAppender(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Context\Snippet\Appender\ContextSnippetAppender', array(
            new Reference(FilesystemExtension::LOGGER_ID)
        ));
        $definition->addTag(SnippetExtension::APPENDER_TAG, array('priority' => 50));
        $container->setDefinition(SnippetExtension::APPENDER_TAG . '.context', $definition);
    }
private function loadSnippetAppender ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Behat\Context\Snippet\Appender\ContextSnippetAppender' , array ( new Reference ( FilesystemExtension :: LOGGER_ID ) ) ) ; $ definition -> addTag ( SnippetExtension :: APPENDER_TAG , array ( 'priority' => 50 ) ) ; $ container -> setDefinition ( SnippetExtension :: APPENDER_TAG . '.context' , $ definition ) ; }
Loads context snippet appender.

@param ContainerBuilder $container
Loads context snippet appender .