src/Behat/Behat/Gherkin/ServiceContainer/GherkinExtension.php
private function loadKeywords(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Gherkin\Keywords\CachedArrayKeywords', array(
            '%gherkin.paths.i18n%'
        ));
        $container->setDefinition(self::KEYWORDS_ID, $definition);

        $definition = new Definition('Behat\Gherkin\Keywords\KeywordsDumper', array(
            new Reference(self::KEYWORDS_ID)
        ));
        $container->setDefinition(self::KEYWORDS_DUMPER_ID, $definition);
    }
private function loadKeywords(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Gherkin\Keywords\CachedArrayKeywords', array(
            '%gherkin.paths.i18n%'
        ));
        $container->setDefinition(self::KEYWORDS_ID, $definition);

        $definition = new Definition('Behat\Gherkin\Keywords\KeywordsDumper', array(
            new Reference(self::KEYWORDS_ID)
        ));
        $container->setDefinition(self::KEYWORDS_DUMPER_ID, $definition);
    }
private function loadKeywords ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Gherkin\Keywords\CachedArrayKeywords' , array ( '%gherkin.paths.i18n%' ) ) ; $ container -> setDefinition ( self :: KEYWORDS_ID , $ definition ) ; $ definition = new Definition ( 'Behat\Gherkin\Keywords\KeywordsDumper' , array ( new Reference ( self :: KEYWORDS_ID ) ) ) ; $ container -> setDefinition ( self :: KEYWORDS_DUMPER_ID , $ definition ) ; }
Loads keyword services.

@param ContainerBuilder $container
Loads keyword services .