X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fregistry%2Fclass_Registry.php;h=9a8b648376ab6db4770ef4f0d3ff14a098e45e1c;hb=5bf79580029c4f6ee71e6c9e7890169e4b344def;hp=78d298ecc686d460db0458455b880884b4c7bc60;hpb=d527a312ec4b2983fc0ecda2179ce335c1a5a1f9;p=shipsimu.git diff --git a/inc/classes/main/registry/class_Registry.php b/inc/classes/main/registry/class_Registry.php index 78d298e..9a8b648 100644 --- a/inc/classes/main/registry/class_Registry.php +++ b/inc/classes/main/registry/class_Registry.php @@ -19,7 +19,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . */ class Registry extends BaseFrameworkSystem implements Register { /** @@ -46,12 +46,6 @@ class Registry extends BaseFrameworkSystem implements Register { // Call parent constructor parent::__construct(__CLASS__); - // Set part description - $this->setObjectDescription("Registry class"); - - // Create unique ID number - $this->generateUniqueId(); - // Clean up a little $this->removeNumberFormaters(); $this->removeSystemArray(); @@ -92,8 +86,8 @@ class Registry extends BaseFrameworkSystem implements Register { /** * Checks wether an instance key was found * - * @param $instanceKey The key holding an instance in the registry - * @return $exists Wether the key exists in the registry + * @param $instanceKey The key holding an instance in registry + * @return $exists Wether the key exists in registry */ public function instanceExists ($instanceKey) { // Does this key exists? @@ -121,7 +115,7 @@ class Registry extends BaseFrameworkSystem implements Register { * @return $objectInstance An instance we shall store */ public function getInstance ($instanceKey) { - // By default the instance is not in the registry + // By default the instance is not in registry $objectInstance = null; // Is the instance there?