* A registry for several data types and objects. Objects should be added by
* addInstance() and therefore must implement the interface Registerable.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
+ * @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
* @license GNU GPL 3.0 or any newer version
- * @link http://www.ship-simu.org
+ * @link http://www.shipsimu.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/**
* Instance of this class
*/
- private static $registryInstance = null;
+ private static $registryInstance = NULL;
/**
* Protected constructor
*
* @return $registryInstance Instance of this class
*/
- public final static function getRegistry () {
+ public static final function getRegistry () {
// Is an instance there?
if (is_null(self::$registryInstance)) {
// Not yet, so create one