Code Duplication    Length = 9-9 lines in 2 locations

src/Di/Container/Factory/AuraDiFactory.php 1 location

@@ 34-42 (lines=9) @@
31
        return (new ContainerBuilder())->newInstance();
32
    }
33
34
    protected function configure(ContainerInterface $container)
35
    {
36
        $this->container = $container;
37
        
38
        $this->setFactories();
39
        $this->setInvokables();
40
41
        $this->container->set($this->getConfigServiceName(), $this->getConfig());
42
    }
43
44
    private function setFactories()
45
    {

src/Di/Container/Factory/PimpleFactory.php 1 location

@@ 33-41 (lines=9) @@
30
        return new Container();
31
    }
32
33
    protected function configure(ContainerInterface $container)
34
    {
35
        $this->container = $container;
36
37
        $this->setFactories();
38
        $this->setInvokables();
39
40
        $this->container[$this->getConfigServiceName()] = $this->getConfig();
41
    }
42
43
    private function setFactories()
44
    {