Code Duplication    Length = 13-14 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 295-307 (lines=13) @@
292
    /**
293
     * Returns the array node used for "_id".
294
     */
295
    protected function getIdNode()
296
    {
297
        $builder = new TreeBuilder();
298
        $node = $builder->root('_id');
299
300
        $node
301
            ->children()
302
            ->scalarNode('path')->end()
303
            ->end()
304
        ;
305
306
        return $node;
307
    }
308
309
    /**
310
     * Returns the array node used for "_source".
@@ 357-370 (lines=14) @@
354
    /**
355
     * Returns the array node used for "_routing".
356
     */
357
    protected function getRoutingNode()
358
    {
359
        $builder = new TreeBuilder();
360
        $node = $builder->root('_routing');
361
362
        $node
363
            ->children()
364
                ->scalarNode('required')->end()
365
                ->scalarNode('path')->end()
366
            ->end()
367
        ;
368
369
        return $node;
370
    }
371
372
    /**
373
     * Returns the array node used for "_parent".