X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ffactories%2Fclass_BaseFactory.php;h=98fd48ed941aa80ed0a713669a0184a82171dd8e;hp=52e52fa2aee306d4f7e6fcd01e21d5b8a7af335c;hb=51caaa61ae7ee017abdfd116bbd8c438451315b2;hpb=361e6320e50a8bb1a3ccb675388b8042361669ae diff --git a/inc/classes/main/factories/class_BaseFactory.php b/inc/classes/main/factories/class_BaseFactory.php index 52e52fa2..98fd48ed 100644 --- a/inc/classes/main/factories/class_BaseFactory.php +++ b/inc/classes/main/factories/class_BaseFactory.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -22,11 +22,6 @@ * along with this program. If not, see . */ class BaseFactory extends BaseFrameworkSystem { - /** - * An instance of the real factory class - */ - private $realFactoryInstance = null; - /** * Protected constructor * @@ -36,29 +31,6 @@ class BaseFactory extends BaseFrameworkSystem { protected function __construct ($className) { // Call parent constructor parent::__construct($className); - - // Clean up a little - $this->removeNumberFormaters(); - $this->removeSystemArray(); - } - - /** - * Setter for the *real* factory instance - * - * @param $realFactoryInstance An instance of the real factory class - * @return void - */ - public final function setRealFactoryInstance (BaseFrameworkSystem $realFactoryInstance) { - $this->realFactoryInstance = $realFactoryInstance; - } - - /** - * Getter for the *real* factory instance - * - * @return $realFactoryInstance An instance of the real factory class - */ - protected final function getRealFactoryInstance () { - return $this->realFactoryInstance; } }