DependencyInjection/Configuration.php
private function addIndexerSection(ArrayNodeDefinition $node)
    {
        $node
            ->children()
                ->arrayNode('indexer')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->booleanNode('sudo')->defaultValue(false)->end()
                        ->scalarNode('bin')->defaultValue('/usr/bin/indexer')->end()
                        ->scalarNode('config')->defaultNull()->end()
                    ->end()
                ->end()
            ->end();
    }
private function addIndexerSection(ArrayNodeDefinition $node)
    {
        $node
            ->children()
                ->arrayNode('indexer')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->booleanNode('sudo')->defaultValue(false)->end()
                        ->scalarNode('bin')->defaultValue('/usr/bin/indexer')->end()
                        ->scalarNode('config')->defaultNull()->end()
                    ->end()
                ->end()
            ->end();
    }
private function addIndexerSection ( ArrayNodeDefinition $ node ) { $ node -> children ( ) -> arrayNode ( 'indexer' ) -> addDefaultsIfNotSet ( ) -> children ( ) -> booleanNode ( 'sudo' ) -> defaultValue ( false ) -> end ( ) -> scalarNode ( 'bin' ) -> defaultValue ( '/usr/bin/indexer' ) -> end ( ) -> scalarNode ( 'config' ) -> defaultNull ( ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) ; }
Set indexer parameters

@param ArrayNodeDefinition $node
Set indexer parameters