Code Duplication    Length = 13-14 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 335-347 (lines=13) @@
332
    /**
333
     * Returns the array node used for "_id".
334
     */
335
    protected function getIdNode()
336
    {
337
        $builder = new TreeBuilder();
338
        $node = $builder->root('_id');
339
340
        $node
341
            ->children()
342
            ->scalarNode('path')->end()
343
            ->end()
344
        ;
345
346
        return $node;
347
    }
348
349
    /**
350
     * Returns the array node used for "_source".
@@ 397-410 (lines=14) @@
394
    /**
395
     * Returns the array node used for "_routing".
396
     */
397
    protected function getRoutingNode()
398
    {
399
        $builder = new TreeBuilder();
400
        $node = $builder->root('_routing');
401
402
        $node
403
            ->children()
404
                ->scalarNode('required')->end()
405
                ->scalarNode('path')->end()
406
            ->end()
407
        ;
408
409
        return $node;
410
    }
411
412
    /**
413
     * Returns the array node used for "_parent".