<?php
// Own namespace
-namespace CoreFramework\Application;
+namespace Org\Mxchange\CoreFramework\Application;
// Import framework stuff
-use CoreFramework\Object\BaseFrameworkSystem;
-use CoreFramework\Registry\Registry;
+use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
+use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
/**
* A general application class for the ApplicationHelper classes.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class BaseApplication extends BaseFrameworkSystem {
+abstract class BaseApplication extends BaseFrameworkSystem {
/**
* Protected constructor
*
// Call parent constructor
parent::__construct($className);
- // Get registry instance
- $registryInstance = Registry::getRegistry();
-
- // Add this instance
- $registryInstance->addInstance('application', $this);
+ // Set this instance as application instance
+ GenericRegistry::getRegistry()->addInstance('application', $this);
}
}