Code Duplication    Length = 13-14 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

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