*/
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);
// Assign application data with template engine
- $templateInstance->assignApplicationData($appInstance);
+ $templateInstance->assignApplicationData($applicationInstance);
// Load the master template
- $masterTemplate = $appInstance->buildMasterTemplateName();
+ $masterTemplate = $applicationInstance->buildMasterTemplateName();
// Load header template
$templateInstance->loadCodeTemplate('header');
// 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('login_failed_menu_class', array($appInstance));
+ $menuInstance = ObjectFactory::createObjectByConfiguredName('login_failed_menu_class', array($applicationInstance));
// Render the menu
$menuInstance->renderMenu();