Code Duplication    Length = 14-17 lines in 8 locations

Bundle/BlogBundle/DependencyInjection/VictoireBlogExtension.php 1 location

@@ 15-31 (lines=17) @@
12
 *
13
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
14
 */
15
class VictoireBlogExtension extends Extension
16
{
17
    /**
18
     * Load configuration.
19
     *
20
     * @param array            $configs
21
     * @param ContainerBuilder $container
22
     */
23
    public function load(array $configs, ContainerBuilder $container)
24
    {
25
        $configuration = new Configuration();
26
        $this->processConfiguration($configuration, $configs);
27
28
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
29
        $loader->load('services.yml');
30
    }
31
}
32

Bundle/UserBundle/DependencyInjection/VictoireUserExtension.php 1 location

@@ 15-28 (lines=14) @@
12
 *
13
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
14
 */
15
class VictoireUserExtension extends Extension
16
{
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function load(array $configs, ContainerBuilder $container)
21
    {
22
        $configuration = new Configuration();
23
        $this->processConfiguration($configuration, $configs);
24
25
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
26
        $loader->load('services.yml');
27
    }
28
}
29

Bundle/BusinessEntityBundle/DependencyInjection/VictoireBusinessEntityExtension.php 1 location

@@ 10-26 (lines=17) @@
7
use Symfony\Component\DependencyInjection\Loader;
8
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
9
10
class VictoireBusinessEntityExtension extends Extension
11
{
12
    /**
13
     * Load the configuration.
14
     *
15
     * @param array            $configs
16
     * @param ContainerBuilder $container
17
     */
18
    public function load(array $configs, ContainerBuilder $container)
19
    {
20
        $configuration = new Configuration();
21
        $this->processConfiguration($configuration, $configs);
22
23
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
24
        $loader->load('services.yml');
25
    }
26
}
27

Bundle/BusinessPageBundle/DependencyInjection/VictoireBusinessPageExtension.php 1 location

@@ 10-26 (lines=17) @@
7
use Symfony\Component\DependencyInjection\Loader;
8
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
9
10
class VictoireBusinessPageExtension extends Extension
11
{
12
    /**
13
     * Load services.
14
     *
15
     * @param array            $configs
16
     * @param ContainerBuilder $container
17
     */
18
    public function load(array $configs, ContainerBuilder $container)
19
    {
20
        $configuration = new Configuration();
21
        $this->processConfiguration($configuration, $configs);
22
23
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
24
        $loader->load('services.yml');
25
    }
26
}
27

Bundle/FilterBundle/DependencyInjection/VictoireFilterExtension.php 1 location

@@ 10-26 (lines=17) @@
7
use Symfony\Component\DependencyInjection\Loader;
8
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
9
10
class VictoireFilterExtension extends Extension
11
{
12
    /**
13
     * Load configuration.
14
     *
15
     * @param array            $configs
16
     * @param ContainerBuilder $container
17
     */
18
    public function load(array $configs, ContainerBuilder $container)
19
    {
20
        $configuration = new Configuration();
21
        $this->processConfiguration($configuration, $configs);
22
23
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
24
        $loader->load('services.yml');
25
    }
26
}
27

Bundle/QueryBundle/DependencyInjection/VictoireQueryExtension.php 1 location

@@ 10-26 (lines=17) @@
7
use Symfony\Component\DependencyInjection\Loader;
8
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
9
10
class VictoireQueryExtension extends Extension
11
{
12
    /**
13
     * Load configuration.
14
     *
15
     * @param array            $configs
16
     * @param ContainerBuilder $container
17
     */
18
    public function load(array $configs, ContainerBuilder $container)
19
    {
20
        $configuration = new Configuration();
21
        $this->processConfiguration($configuration, $configs);
22
23
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
24
        $loader->load('services.yml');
25
    }
26
}
27

Bundle/APIBusinessEntityBundle/DependencyInjection/VictoireAPIBusinessEntityExtension.php 1 location

@@ 15-28 (lines=14) @@
12
 *
13
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
14
 */
15
class VictoireAPIBusinessEntityExtension extends Extension
16
{
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function load(array $configs, ContainerBuilder $container)
21
    {
22
        $configuration = new Configuration();
23
        $config = $this->processConfiguration($configuration, $configs);
24
25
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
26
        $loader->load('services.yml');
27
    }
28
}
29

Bundle/ORMBusinessEntityBundle/DependencyInjection/VictoireORMBusinessEntityExtension.php 1 location

@@ 15-28 (lines=14) @@
12
 *
13
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
14
 */
15
class VictoireORMBusinessEntityExtension extends Extension
16
{
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function load(array $configs, ContainerBuilder $container)
21
    {
22
        $configuration = new Configuration();
23
        $config = $this->processConfiguration($configuration, $configs);
24
25
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
26
        $loader->load('services.yml');
27
    }
28
}
29