src/Behat/Behat/Gherkin/ServiceContainer/GherkinExtension.php
private function processLoaders(ContainerBuilder $container)
    {
        $references = $this->processor->findAndSortTaggedServices($container, self::LOADER_TAG);
        $definition = $container->getDefinition(self::MANAGER_ID);

        foreach ($references as $reference) {
            $definition->addMethodCall('addLoader', array($reference));
        }
    }
private function processLoaders(ContainerBuilder $container)
    {
        $references = $this->processor->findAndSortTaggedServices($container, self::LOADER_TAG);
        $definition = $container->getDefinition(self::MANAGER_ID);

        foreach ($references as $reference) {
            $definition->addMethodCall('addLoader', array($reference));
        }
    }
private function processLoaders ( ContainerBuilder $ container ) { $ references = $ this -> processor -> findAndSortTaggedServices ( $ container , self :: LOADER_TAG ) ; $ definition = $ container -> getDefinition ( self :: MANAGER_ID ) ; foreach ( $ references as $ reference ) { $ definition -> addMethodCall ( 'addLoader' , array ( $ reference ) ) ; } }
Processes all available gherkin loaders.

@param ContainerBuilder $container
Processes all available gherkin loaders .