X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ffactories%2Fobjects%2Fclass_ObjectFactory.php;h=1b51c84ca5d0d8b8c312beae1a7f388e209a2435;hp=4a6f0d42c7324fce4d77c9b83bf08dd4b3897886;hb=e8f16009f46e89d7fd9d79f6e5c4d1982a37f9f8;hpb=1af09bcf5c682321e1ab22782fab94ed643fc267 diff --git a/inc/classes/main/factories/objects/class_ObjectFactory.php b/inc/classes/main/factories/objects/class_ObjectFactory.php index 4a6f0d42..1b51c84c 100644 --- a/inc/classes/main/factories/objects/class_ObjectFactory.php +++ b/inc/classes/main/factories/objects/class_ObjectFactory.php @@ -30,11 +30,12 @@ class ObjectFactory extends BaseFactory { /** * Protected constructor * + * @param $className Name of this class * @return void */ - protected function __construct () { + protected function __construct ($className = __CLASS__) { // Call parent constructor - parent::__construct(__CLASS__); + parent::__construct($className); } /**