Code Duplication    Length = 14-15 lines in 5 locations

src/OroCRM/Bundle/AccountBundle/DependencyInjection/OroCRMAccountExtension.php 1 location

@@ 15-29 (lines=15) @@
12
 *
13
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
14
 */
15
class OroCRMAccountExtension 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
        $loader->load('importexport.yml');
28
    }
29
}
30

src/OroCRM/Bundle/AnalyticsBundle/DependencyInjection/OroCRMAnalyticsExtension.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 OroCRMAnalyticsExtension 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

src/OroCRM/Bundle/CaseBundle/DependencyInjection/OroCRMCaseExtension.php 1 location

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

src/OroCRM/Bundle/ReportBundle/DependencyInjection/OroCRMReportExtension.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 OroCRMReportExtension 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

src/Oro/Bridge/CrmCall/DependencyInjection/OroCRMCallBridgeExtension.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 OroCRMCallBridgeExtension 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