src/Behat/Behat/Definition/ServiceContainer/DefinitionExtension.php
private function loadDefaultPatternPolicies(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Definition\Pattern\Policy\TurnipPatternPolicy');
        $definition->addTag(self::PATTERN_POLICY_TAG, array('priority' => 50));
        $container->setDefinition(self::PATTERN_POLICY_TAG . '.turnip', $definition);

        $definition = new Definition('Behat\Behat\Definition\Pattern\Policy\RegexPatternPolicy');
        $definition->addTag(self::PATTERN_POLICY_TAG, array('priority' => 60));
        $container->setDefinition(self::PATTERN_POLICY_TAG . '.regex', $definition);
    }
private function loadDefaultPatternPolicies(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Definition\Pattern\Policy\TurnipPatternPolicy');
        $definition->addTag(self::PATTERN_POLICY_TAG, array('priority' => 50));
        $container->setDefinition(self::PATTERN_POLICY_TAG . '.turnip', $definition);

        $definition = new Definition('Behat\Behat\Definition\Pattern\Policy\RegexPatternPolicy');
        $definition->addTag(self::PATTERN_POLICY_TAG, array('priority' => 60));
        $container->setDefinition(self::PATTERN_POLICY_TAG . '.regex', $definition);
    }
private function loadDefaultPatternPolicies ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Behat\Definition\Pattern\Policy\TurnipPatternPolicy' ) ; $ definition -> addTag ( self :: PATTERN_POLICY_TAG , array ( 'priority' => 50 ) ) ; $ container -> setDefinition ( self :: PATTERN_POLICY_TAG . '.turnip' , $ definition ) ; $ definition = new Definition ( 'Behat\Behat\Definition\Pattern\Policy\RegexPatternPolicy' ) ; $ definition -> addTag ( self :: PATTERN_POLICY_TAG , array ( 'priority' => 60 ) ) ; $ container -> setDefinition ( self :: PATTERN_POLICY_TAG . '.regex' , $ definition ) ; }
Loads default pattern policies.

@param ContainerBuilder $container
Loads default pattern policies .