DependencyInjection/Configuration.php
private function addSearchdSection(ArrayNodeDefinition $node)
    {
        $node
            ->children()
                ->arrayNode('searchd')
                ->addDefaultsIfNotSet()
                    ->children()
                        ->scalarNode('host')->defaultValue('localhost')->end()
                        ->scalarNode('port')->defaultValue('9312')->end()
                        ->scalarNode('socket')->defaultNull()->end()
                    ->end()
                ->end()
            ->end();
    }
private function addSearchdSection(ArrayNodeDefinition $node)
    {
        $node
            ->children()
                ->arrayNode('searchd')
                ->addDefaultsIfNotSet()
                    ->children()
                        ->scalarNode('host')->defaultValue('localhost')->end()
                        ->scalarNode('port')->defaultValue('9312')->end()
                        ->scalarNode('socket')->defaultNull()->end()
                    ->end()
                ->end()
            ->end();
    }
private function addSearchdSection ( ArrayNodeDefinition $ node ) { $ node -> children ( ) -> arrayNode ( 'searchd' ) -> addDefaultsIfNotSet ( ) -> children ( ) -> scalarNode ( 'host' ) -> defaultValue ( 'localhost' ) -> end ( ) -> scalarNode ( 'port' ) -> defaultValue ( '9312' ) -> end ( ) -> scalarNode ( 'socket' ) -> defaultNull ( ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) ; }
Set search daemon parameters

@param ArrayNodeDefinition $node
Set search daemon parameters