src/Behat/Behat/Output/ServiceContainer/Formatter/ProgressFormatterFactory.php
protected function loadCorePrinters(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Output\Node\Printer\CounterPrinter', array(
            new Reference(self::RESULT_TO_STRING_CONVERTER_ID),
            new Reference(TranslatorExtension::TRANSLATOR_ID),
        ));
        $container->setDefinition('output.node.printer.counter', $definition);

        $definition = new Definition('Behat\Behat\Output\Node\Printer\ListPrinter', array(
            new Reference(self::RESULT_TO_STRING_CONVERTER_ID),
            new Reference(ExceptionExtension::PRESENTER_ID),
            new Reference(TranslatorExtension::TRANSLATOR_ID),
            '%paths.base%'
        ));
        $container->setDefinition('output.node.printer.list', $definition);

        $definition = new Definition('Behat\Behat\Output\Node\Printer\Progress\ProgressStepPrinter', array(
            new Reference(self::RESULT_TO_STRING_CONVERTER_ID)
        ));
        $container->setDefinition('output.node.printer.progress.step', $definition);

        $definition = new Definition('Behat\Behat\Output\Node\Printer\Progress\ProgressStatisticsPrinter', array(
            new Reference('output.node.printer.counter'),
            new Reference('output.node.printer.list')
        ));
        $container->setDefinition('output.node.printer.progress.statistics', $definition);
    }
protected function loadCorePrinters(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Output\Node\Printer\CounterPrinter', array(
            new Reference(self::RESULT_TO_STRING_CONVERTER_ID),
            new Reference(TranslatorExtension::TRANSLATOR_ID),
        ));
        $container->setDefinition('output.node.printer.counter', $definition);

        $definition = new Definition('Behat\Behat\Output\Node\Printer\ListPrinter', array(
            new Reference(self::RESULT_TO_STRING_CONVERTER_ID),
            new Reference(ExceptionExtension::PRESENTER_ID),
            new Reference(TranslatorExtension::TRANSLATOR_ID),
            '%paths.base%'
        ));
        $container->setDefinition('output.node.printer.list', $definition);

        $definition = new Definition('Behat\Behat\Output\Node\Printer\Progress\ProgressStepPrinter', array(
            new Reference(self::RESULT_TO_STRING_CONVERTER_ID)
        ));
        $container->setDefinition('output.node.printer.progress.step', $definition);

        $definition = new Definition('Behat\Behat\Output\Node\Printer\Progress\ProgressStatisticsPrinter', array(
            new Reference('output.node.printer.counter'),
            new Reference('output.node.printer.list')
        ));
        $container->setDefinition('output.node.printer.progress.statistics', $definition);
    }
protected function loadCorePrinters ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Behat\Output\Node\Printer\CounterPrinter' , array ( new Reference ( self :: RESULT_TO_STRING_CONVERTER_ID ) , new Reference ( TranslatorExtension :: TRANSLATOR_ID ) , ) ) ; $ container -> setDefinition ( 'output.node.printer.counter' , $ definition ) ; $ definition = new Definition ( 'Behat\Behat\Output\Node\Printer\ListPrinter' , array ( new Reference ( self :: RESULT_TO_STRING_CONVERTER_ID ) , new Reference ( ExceptionExtension :: PRESENTER_ID ) , new Reference ( TranslatorExtension :: TRANSLATOR_ID ) , '%paths.base%' ) ) ; $ container -> setDefinition ( 'output.node.printer.list' , $ definition ) ; $ definition = new Definition ( 'Behat\Behat\Output\Node\Printer\Progress\ProgressStepPrinter' , array ( new Reference ( self :: RESULT_TO_STRING_CONVERTER_ID ) ) ) ; $ container -> setDefinition ( 'output.node.printer.progress.step' , $ definition ) ; $ definition = new Definition ( 'Behat\Behat\Output\Node\Printer\Progress\ProgressStatisticsPrinter' , array ( new Reference ( 'output.node.printer.counter' ) , new Reference ( 'output.node.printer.list' ) ) ) ; $ container -> setDefinition ( 'output.node.printer.progress.statistics' , $ definition ) ; }
Loads feature, scenario and step printers.

@param ContainerBuilder $container
Loads feature scenario and step printers .