<?php
// Own namespace
namespace Org\Mxchange\CoreFramework\Registry\Upgrade\Format\Lfdb;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Registry\BaseRegistry;
+use Org\Mxchange\CoreFramework\Upgrade\Format\Database\UpgradeableDatabaseFormat;
+use Org\Mxchange\CoreFramework\Upgrade\Format\RegisterableFormatUpgrade;
+
/**
* A LocalFileDatabase database-format-upgrade registry
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2021 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
*
* @return void
*/
- protected function __construct () {
+ private function __construct () {
// Call parent constructor
parent::__construct(__CLASS__);
}
if (is_null(self::$registryInstance)) {
// Not yet, so create one
self::$registryInstance = new LocalFileDatabaseFormatUpgradeRegistry();
- } // END - if
+ }
// Return the instance
return self::$registryInstance;
}
-}
-// [EOF]
-?>
+ /**
+ * Registers given format-upgrade class with this registry
+ *
+ * @param $upgradeInstance An instance of a UpgradeableDatabaseFormat class
+ * @return void
+ * @todo 0% done
+ */
+ public function registerFormatUpgrader (UpgradeableDatabaseFormat $upgradeInstance) {
+ $this->partialStub();
+ }
+
+}