Code Duplication    Length = 13-14 lines in 2 locations

src/DependencyInjection/Configuration.php 2 locations

@@ 180-192 (lines=13) @@
177
    /**
178
     * Returns the array node used for "_id".
179
     */
180
    protected function getIdNode()
181
    {
182
        $builder = new TreeBuilder();
183
        $node = $builder->root('_id');
184
185
        $node
186
            ->children()
187
            ->scalarNode('path')->end()
188
            ->end()
189
        ;
190
191
        return $node;
192
    }
193
194
    /**
195
     * Returns the array node used for "_source".
@@ 224-237 (lines=14) @@
221
    /**
222
     * Returns the array node used for "_routing".
223
     */
224
    protected function getRoutingNode()
225
    {
226
        $builder = new TreeBuilder();
227
        $node = $builder->root('_routing');
228
229
        $node
230
            ->children()
231
                ->scalarNode('required')->end()
232
                ->scalarNode('path')->end()
233
            ->end()
234
        ;
235
236
        return $node;
237
    }
238
239
    /**
240
     * Returns the array node used for "_parent".