X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fweb%2Fclass_WebStatusCommand.php;h=0fdb204849ff6c73a976e8500bea00b5ddda8282;hp=2d8152b8983d18b8278b354116ff58a1b98cd48e;hb=ec6bb7da038135934f0d5abfcb82a7a7780945a4;hpb=e51607c0f33062258ba0a07b79b8e1f34fd6b832 diff --git a/inc/classes/main/commands/web/class_WebStatusCommand.php b/inc/classes/main/commands/web/class_WebStatusCommand.php index 2d8152b8..0fdb2048 100644 --- a/inc/classes/main/commands/web/class_WebStatusCommand.php +++ b/inc/classes/main/commands/web/class_WebStatusCommand.php @@ -59,16 +59,16 @@ class WebStatusCommand extends BaseCommand implements Commandable { */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { // Get the application instance - $appInstance = $this->getResolverInstance()->getApplicationInstance(); + $applicationInstance = $this->getResolverInstance()->getApplicationInstance(); // Prepare a template instance - $templateInstance = $this->prepareTemplateInstance($appInstance); + $templateInstance = $this->prepareTemplateInstance($applicationInstance); // Transfer application data - $templateInstance->assignApplicationData($appInstance); + $templateInstance->assignApplicationData($applicationInstance); // Load the master template - $masterTemplate = $appInstance->buildMasterTemplateName(); + $masterTemplate = $applicationInstance->buildMasterTemplateName(); // Load header template $templateInstance->loadCodeTemplate('header'); @@ -98,7 +98,7 @@ class WebStatusCommand extends BaseCommand implements Commandable { // Construct the menu in every command. We could do this in BaseCommand class. But this means // *every* command has a navigation system and that is want we don't want. - $menuInstance = ObjectFactory::createObjectByConfiguredName('status_menu_class', array($appInstance)); + $menuInstance = ObjectFactory::createObjectByConfiguredName('status_menu_class', array($applicationInstance)); // Render the menu $menuInstance->renderMenu();