src/Behat/Behat/Definition/ServiceContainer/DefinitionExtension.php
private function loadDefaultSearchEngines(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Definition\Search\RepositorySearchEngine', array(
            new Reference(self::REPOSITORY_ID),
            new Reference(self::PATTERN_TRANSFORMER_ID),
            new Reference(self::DEFINITION_TRANSLATOR_ID),
            new Reference(ArgumentExtension::PREG_MATCH_ARGUMENT_ORGANISER_ID)
        ));
        $definition->addTag(self::SEARCH_ENGINE_TAG, array('priority' => 50));
        $container->setDefinition(self::SEARCH_ENGINE_TAG . '.repository', $definition);
    }
private function loadDefaultSearchEngines(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Definition\Search\RepositorySearchEngine', array(
            new Reference(self::REPOSITORY_ID),
            new Reference(self::PATTERN_TRANSFORMER_ID),
            new Reference(self::DEFINITION_TRANSLATOR_ID),
            new Reference(ArgumentExtension::PREG_MATCH_ARGUMENT_ORGANISER_ID)
        ));
        $definition->addTag(self::SEARCH_ENGINE_TAG, array('priority' => 50));
        $container->setDefinition(self::SEARCH_ENGINE_TAG . '.repository', $definition);
    }
private function loadDefaultSearchEngines ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Behat\Definition\Search\RepositorySearchEngine' , array ( new Reference ( self :: REPOSITORY_ID ) , new Reference ( self :: PATTERN_TRANSFORMER_ID ) , new Reference ( self :: DEFINITION_TRANSLATOR_ID ) , new Reference ( ArgumentExtension :: PREG_MATCH_ARGUMENT_ORGANISER_ID ) ) ) ; $ definition -> addTag ( self :: SEARCH_ENGINE_TAG , array ( 'priority' => 50 ) ) ; $ container -> setDefinition ( self :: SEARCH_ENGINE_TAG . '.repository' , $ definition ) ; }
Loads default search engines.

@param ContainerBuilder $container
Loads default search engines .