Code Duplication    Length = 13-14 lines in 2 locations

src/DependencyInjection/Configuration.php 2 locations

@@ 185-197 (lines=13) @@
182
    /**
183
     * Returns the array node used for "_id".
184
     */
185
    protected function getIdNode()
186
    {
187
        $builder = new TreeBuilder();
188
        $node = $builder->root('_id');
189
190
        $node
191
            ->children()
192
            ->scalarNode('path')->end()
193
            ->end()
194
        ;
195
196
        return $node;
197
    }
198
199
    /**
200
     * Returns the array node used for "_source".
@@ 229-242 (lines=14) @@
226
    /**
227
     * Returns the array node used for "_routing".
228
     */
229
    protected function getRoutingNode()
230
    {
231
        $builder = new TreeBuilder();
232
        $node = $builder->root('_routing');
233
234
        $node
235
            ->children()
236
                ->scalarNode('required')->end()
237
                ->scalarNode('path')->end()
238
            ->end()
239
        ;
240
241
        return $node;
242
    }
243
244
    /**
245
     * Returns the array node used for "_parent".