X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Ffactories%2Fobjects%2Fclass_ObjectFactory.php;fp=framework%2Fmain%2Fclasses%2Ffactories%2Fobjects%2Fclass_ObjectFactory.php;h=2701ede9a53ffb256197a2f6fd233c31d37602b6;hp=ebde62499338fe56c3bfe666bd45da5c4955cf60;hb=24814f48bc7bad92f55e8763bf3f657fb41b131d;hpb=974964e500f24aa7695dc4ec555dc659f78e40e8 diff --git a/framework/main/classes/factories/objects/class_ObjectFactory.php b/framework/main/classes/factories/objects/class_ObjectFactory.php index ebde6249..2701ede9 100644 --- a/framework/main/classes/factories/objects/class_ObjectFactory.php +++ b/framework/main/classes/factories/objects/class_ObjectFactory.php @@ -3,7 +3,7 @@ namespace CoreFramework\Factory; // Import framework stuff -use CoreFramework\Configuration\FrameworkConfiguration; +use CoreFramework\Bootstrap\FrameworkBootstrap; use CoreFramework\Generic\EmptyVariableException; use CoreFramework\Loader\NoClassException; @@ -97,7 +97,7 @@ class ObjectFactory extends BaseFactory { */ public static final function createObjectByConfiguredName ($configEntry, array $args = array()) { // Read the configuration entry - $className = FrameworkConfiguration::getSelfInstance()->getConfigEntry($configEntry); + $className = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry($configEntry); // Send this to the other factory... $objectInstance = self::createObjectByName($className, $args);