Code Duplication    Length = 13-14 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

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