$userInstance = Registry::getRegistry()->getInstance('user');
// Get an application instance
- $appInstance = $this->getResolverInstance()->getApplicationInstance();
+ $applicationInstance = $this->getResolverInstance()->getApplicationInstance();
// Get a RNG instance (Random Number Generator)
$rngInstance = ObjectFactory::createObjectByConfiguredName('rng_class');
$this->getConfigInstance()->setConfigEntry('web_template_class', $this->getConfigInstance()->getConfigEntry('mail_template_class'));
// Prepare the template engine
- $templateInstance = $this->prepareTemplateInstance($appInstance);
+ $templateInstance = $this->prepareTemplateInstance($applicationInstance);
// Assign the application data with the template engine
- $templateInstance->assignApplicationData($appInstance);
+ $templateInstance->assignApplicationData($applicationInstance);
// Get a mailer class
- $mailerInstance = ObjectFactory::createObjectByConfiguredName('mailer_class', array($templateInstance, $appInstance, 'resend_link'));
+ $mailerInstance = ObjectFactory::createObjectByConfiguredName('mailer_class', array($templateInstance, $applicationInstance, 'resend_link'));
// Set this mailer in our template engine
$templateInstance->setMailerInstance($mailerInstance);