Code Duplication    Length = 13-14 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 315-327 (lines=13) @@
312
    /**
313
     * Returns the array node used for "_id".
314
     */
315
    protected function getIdNode()
316
    {
317
        $builder = new TreeBuilder();
318
        $node = $builder->root('_id');
319
320
        $node
321
            ->children()
322
            ->scalarNode('path')->end()
323
            ->end()
324
        ;
325
326
        return $node;
327
    }
328
329
    /**
330
     * Returns the array node used for "_source".
@@ 359-372 (lines=14) @@
356
    /**
357
     * Returns the array node used for "_routing".
358
     */
359
    protected function getRoutingNode()
360
    {
361
        $builder = new TreeBuilder();
362
        $node = $builder->root('_routing');
363
364
        $node
365
            ->children()
366
                ->scalarNode('required')->end()
367
                ->scalarNode('path')->end()
368
            ->end()
369
        ;
370
371
        return $node;
372
    }
373
374
    /**
375
     * Returns the array node used for "_parent".