src/Behat/Behat/Definition/ServiceContainer/DefinitionExtension.php
private function loadController(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Definition\Cli\AvailableDefinitionsController', array(
            new Reference(SuiteExtension::REGISTRY_ID),
            new Reference(self::WRITER_ID),
            new Reference($this->getListPrinterId()),
            new Reference($this->getInformationPrinterId())
        ));
        $definition->addTag(CliExtension::CONTROLLER_TAG, array('priority' => 500));
        $container->setDefinition(CliExtension::CONTROLLER_TAG . '.available_definitions', $definition);
    }
private function loadController(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Definition\Cli\AvailableDefinitionsController', array(
            new Reference(SuiteExtension::REGISTRY_ID),
            new Reference(self::WRITER_ID),
            new Reference($this->getListPrinterId()),
            new Reference($this->getInformationPrinterId())
        ));
        $definition->addTag(CliExtension::CONTROLLER_TAG, array('priority' => 500));
        $container->setDefinition(CliExtension::CONTROLLER_TAG . '.available_definitions', $definition);
    }
private function loadController ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Behat\Definition\Cli\AvailableDefinitionsController' , array ( new Reference ( SuiteExtension :: REGISTRY_ID ) , new Reference ( self :: WRITER_ID ) , new Reference ( $ this -> getListPrinterId ( ) ) , new Reference ( $ this -> getInformationPrinterId ( ) ) ) ) ; $ definition -> addTag ( CliExtension :: CONTROLLER_TAG , array ( 'priority' => 500 ) ) ; $ container -> setDefinition ( CliExtension :: CONTROLLER_TAG . '.available_definitions' , $ definition ) ; }
Loads definition controller.

@param ContainerBuilder $container
Loads definition controller .