Code Duplication    Length = 13-14 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

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