Code Duplication    Length = 5-5 lines in 2 locations

library/WebinoAppLib/Factory.php 2 locations

@@ 168-172 (lines=5) @@
165
    {
166
        $config = $coreConfig[CoreConfig::SERVICES];
167
168
        if (!empty($config[CoreConfig::INVOKABLES])) {
169
            foreach ($config[CoreConfig::INVOKABLES] as $name => $service) {
170
                $services->setInvokableClass($name, $service);
171
            }
172
        }
173
174
        if (!empty($config[CoreConfig::FACTORIES])) {
175
            foreach ($config[CoreConfig::FACTORIES] as $name => $service) {
@@ 174-178 (lines=5) @@
171
            }
172
        }
173
174
        if (!empty($config[CoreConfig::FACTORIES])) {
175
            foreach ($config[CoreConfig::FACTORIES] as $name => $service) {
176
                $services->setFactory($name, $service);
177
            }
178
        }
179
180
        if (!empty($config[CoreConfig::INITIALIZERS])) {
181
            foreach ($config[CoreConfig::INITIALIZERS] as $initializer) {