src/Behat/Behat/Gherkin/ServiceContainer/GherkinExtension.php
private function loadProfileFilters(ContainerBuilder $container, array $filters)
    {
        $gherkin = $container->getDefinition(self::MANAGER_ID);
        foreach ($filters as $type => $filterString) {
            $filter = $this->createFilterDefinition($type, $filterString);
            $gherkin->addMethodCall('addFilter', array($filter));
        }
    }
private function loadProfileFilters(ContainerBuilder $container, array $filters)
    {
        $gherkin = $container->getDefinition(self::MANAGER_ID);
        foreach ($filters as $type => $filterString) {
            $filter = $this->createFilterDefinition($type, $filterString);
            $gherkin->addMethodCall('addFilter', array($filter));
        }
    }
private function loadProfileFilters ( ContainerBuilder $ container , array $ filters ) { $ gherkin = $ container -> getDefinition ( self :: MANAGER_ID ) ; foreach ( $ filters as $ type => $ filterString ) { $ filter = $ this -> createFilterDefinition ( $ type , $ filterString ) ; $ gherkin -> addMethodCall ( 'addFilter' , array ( $ filter ) ) ; } }
Loads profile-level gherkin filters.

@param ContainerBuilder $container
@param array            $filters
Loads profile - level gherkin filters .