Code Duplication    Length = 14-14 lines in 3 locations

src/Starkerxp/RabbitmqBundle/DependencyInjection/StarkerxpRabbitmqExtension.php 1 location

@@ 15-28 (lines=14) @@
12
 *
13
 * @link http://symfony.com/doc/current/cookbook/bundles/extension.html
14
 */
15
class StarkerxpRabbitmqExtension 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/Starkerxp/StructureBundle/DependencyInjection/StarkerxpStructureExtension.php 1 location

@@ 15-28 (lines=14) @@
12
 *
13
 * @link http://symfony.com/doc/current/cookbook/bundles/extension.html
14
 */
15
class StarkerxpStructureExtension 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/Starkerxp/LeadBundle/DependencyInjection/StarkerxpLeadExtension.php 1 location

@@ 15-28 (lines=14) @@
12
 *
13
 * @link http://symfony.com/doc/current/cookbook/bundles/extension.html
14
 */
15
class StarkerxpLeadExtension 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