Code Duplication    Length = 21-22 lines in 7 locations

src/Kunstmaan/ArticleBundle/DependencyInjection/Configuration.php 1 location

@@ 13-33 (lines=21) @@
10
 *
11
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
12
 */
13
class Configuration implements ConfigurationInterface
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getConfigTreeBuilder()
19
    {
20
        $treeBuilder = new TreeBuilder('kunstmaan_article');
21
        if (method_exists($treeBuilder, 'getRootNode')) {
22
            $rootNode = $treeBuilder->getRootNode();
23
        } else {
24
            // BC layer for symfony/config 4.1 and older
25
            $rootNode = $treeBuilder->root('kunstmaan_article');
26
        }
27
28
        // Here you should define the parameters that are allowed to
29
        // configure your bundle. See the documentation linked above for
30
        // more information on that topic.
31
        return $treeBuilder;
32
    }
33
}
34

src/Kunstmaan/FixturesBundle/DependencyInjection/Configuration.php 1 location

@@ 13-33 (lines=21) @@
10
 *
11
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
12
 */
13
class Configuration implements ConfigurationInterface
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getConfigTreeBuilder()
19
    {
20
        $treeBuilder = new TreeBuilder('kunstmaan_fixtures');
21
        if (method_exists($treeBuilder, 'getRootNode')) {
22
            $rootNode = $treeBuilder->getRootNode();
23
        } else {
24
            // BC layer for symfony/config 4.1 and older
25
            $rootNode = $treeBuilder->root('kunstmaan_fixtures');
26
        }
27
28
        // Here you should define the parameters that are allowed to
29
        // configure your bundle. See the documentation linked above for
30
        // more information on that topic.
31
        return $treeBuilder;
32
    }
33
}
34

src/Kunstmaan/MediaPagePartBundle/DependencyInjection/Configuration.php 1 location

@@ 13-34 (lines=22) @@
10
 *
11
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
12
 */
13
class Configuration implements ConfigurationInterface
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getConfigTreeBuilder()
19
    {
20
        $treeBuilder = new TreeBuilder('kunstmaan_media_page_part');
21
        if (method_exists($treeBuilder, 'getRootNode')) {
22
            $rootNode = $treeBuilder->getRootNode();
23
        } else {
24
            // BC layer for symfony/config 4.1 and older
25
            $rootNode = $treeBuilder->root('kunstmaan_media_page_part');
26
        }
27
28
        // Here you should define the parameters that are allowed to
29
        // configure your bundle. See the documentation linked above for
30
        // more information on that topic.
31
32
        return $treeBuilder;
33
    }
34
}
35

src/Kunstmaan/RedirectBundle/DependencyInjection/Configuration.php 1 location

@@ 13-33 (lines=21) @@
10
 *
11
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
12
 */
13
class Configuration implements ConfigurationInterface
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getConfigTreeBuilder()
19
    {
20
        $treeBuilder = new TreeBuilder('kunstmaan_redirect');
21
        if (method_exists($treeBuilder, 'getRootNode')) {
22
            $rootNode = $treeBuilder->getRootNode();
23
        } else {
24
            // BC layer for symfony/config 4.1 and older
25
            $rootNode = $treeBuilder->root('kunstmaan_redirect');
26
        }
27
28
        // Here you should define the parameters that are allowed to
29
        // configure your bundle. See the documentation linked above for
30
        // more information on that topic.
31
        return $treeBuilder;
32
    }
33
}
34

src/Kunstmaan/SitemapBundle/DependencyInjection/Configuration.php 1 location

@@ 13-33 (lines=21) @@
10
 *
11
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
12
 */
13
class Configuration implements ConfigurationInterface
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getConfigTreeBuilder()
19
    {
20
        $treeBuilder = new TreeBuilder('kunstmaan_sitemap');
21
        if (method_exists($treeBuilder, 'getRootNode')) {
22
            $rootNode = $treeBuilder->getRootNode();
23
        } else {
24
            // BC layer for symfony/config 4.1 and older
25
            $rootNode = $treeBuilder->root('kunstmaan_sitemap');
26
        }
27
28
        // Here you should define the parameters that are allowed to
29
        // configure your bundle. See the documentation linked above for
30
        // more information on that topic.
31
        return $treeBuilder;
32
    }
33
}
34

src/Kunstmaan/TaggingBundle/DependencyInjection/Configuration.php 1 location

@@ 13-33 (lines=21) @@
10
 *
11
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
12
 */
13
class Configuration implements ConfigurationInterface
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getConfigTreeBuilder()
19
    {
20
        $treeBuilder = new TreeBuilder('kunstmaan_tagging');
21
        if (method_exists($treeBuilder, 'getRootNode')) {
22
            $rootNode = $treeBuilder->getRootNode();
23
        } else {
24
            // BC layer for symfony/config 4.1 and older
25
            $rootNode = $treeBuilder->root('kunstmaan_tagging');
26
        }
27
28
        // Here you should define the parameters that are allowed to
29
        // configure your bundle. See the documentation linked above for
30
        // more information on that topic.
31
        return $treeBuilder;
32
    }
33
}
34

src/Kunstmaan/UserManagementBundle/DependencyInjection/Configuration.php 1 location

@@ 13-34 (lines=22) @@
10
 *
11
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
12
 */
13
class Configuration implements ConfigurationInterface
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getConfigTreeBuilder()
19
    {
20
        $treeBuilder = new TreeBuilder('kunstmaan_user_management');
21
        if (method_exists($treeBuilder, 'getRootNode')) {
22
            $rootNode = $treeBuilder->getRootNode();
23
        } else {
24
            // BC layer for symfony/config 4.1 and older
25
            $rootNode = $treeBuilder->root('kunstmaan_user_management');
26
        }
27
28
        // Here you should define the parameters that are allowed to
29
        // configure your bundle. See the documentation linked above for
30
        // more information on that topic.
31
32
        return $treeBuilder;
33
    }
34
}
35