X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fcommands%2Fclass_BaseCommand.php;h=8417f019398162d076837f3c5f440f8306448979;hp=cacd73f19698310b4425875fbb869fd4e3b33071;hb=b002c5909aa0f781505dde5414964b0f014cde01;hpb=4f9cf34b521892cb99fae9b21b92787f3d555b74;ds=sidebyside diff --git a/framework/main/classes/commands/class_BaseCommand.php b/framework/main/classes/commands/class_BaseCommand.php index cacd73f1..8417f019 100644 --- a/framework/main/classes/commands/class_BaseCommand.php +++ b/framework/main/classes/commands/class_BaseCommand.php @@ -5,7 +5,7 @@ namespace Org\Mxchange\CoreFramework\Command; // Import framework stuff use Org\Mxchange\CoreFramework\Factory\ObjectFactory; use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem; -use Org\Mxchange\CoreFramework\Registry\Registry; +use Org\Mxchange\CoreFramework\Registry\GenericRegistry; use Org\Mxchange\CoreFramework\Request\Requestable; use Org\Mxchange\CoreFramework\Response\Responseable; @@ -31,7 +31,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseCommand extends BaseFrameworkSystem { +abstract class BaseCommand extends BaseFrameworkSystem { /** * Protected constructor * @@ -56,7 +56,7 @@ class BaseCommand extends BaseFrameworkSystem { assert(!$requestInstance->isPostRequestMethod()); // Get the application instance - $applicationInstance = Registry::getRegistry()->getInstance('app'); + $applicationInstance = GenericRegistry::getRegistry()->getInstance('app'); // Prepare a template instance $templateInstance = $this->prepareTemplateInstance($applicationInstance);