]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/template/mail/class_MailTemplateEngine.php
As of a good naming convention, do not short-cut variables
[core.git] / inc / classes / main / template / mail / class_MailTemplateEngine.php
index 1afb1f005efb3979bc2e26d69ffe32c764a40106..eda00738babd1365478b81bb8adb4645b2b8bfbf 100644 (file)
@@ -63,8 +63,8 @@ class MailTemplateEngine extends BaseTemplateEngine implements CompileableTempla
        /**
         * Creates an instance of the class TemplateEngine and prepares it for usage
         *
-        * @param       $appInstance    A manageable application
-        * @return      $templateInstance       An instance of TemplateEngine
+        * @param       $applicationInstance    A manageable application
+        * @return      $templateInstance               An instance of TemplateEngine
         * @throws      BasePathIsEmptyException                If the provided $templateBasePath is empty
         * @throws      InvalidBasePathStringException  If $templateBasePath is no string
         * @throws      BasePathIsNoDirectoryException  If $templateBasePath is no
@@ -72,12 +72,12 @@ class MailTemplateEngine extends BaseTemplateEngine implements CompileableTempla
         * @throws      BasePathReadProtectedException  If $templateBasePath is
         *                                                                                      read-protected
         */
-       public static final function createMailTemplateEngine (ManageableApplication $appInstance) {
+       public static final function createMailTemplateEngine (ManageableApplication $applicationInstance) {
                // Get a new instance
                $templateInstance = new MailTemplateEngine();
 
                // Determine base path
-               $templateBasePath = $templateInstance->getConfigInstance()->getConfigEntry('application_base_path') . $appInstance->getRequestInstance()->getRequestElement('app') . '/';
+               $templateBasePath = $templateInstance->getConfigInstance()->getConfigEntry('application_base_path') . $applicationInstance->getRequestInstance()->getRequestElement('app') . '/';
 
                // Is the base path valid?
                if (empty($templateBasePath)) {