]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/response/image/class_ImageResponse.php
As of a good naming convention, do not short-cut variables
[core.git] / inc / classes / main / response / image / class_ImageResponse.php
index 81426049350555a0d88c83249017a7edf2b53a2e..8e018d7ceb623d2024dc04baf9dbcbcc55d4d93b 100644 (file)
@@ -38,18 +38,18 @@ class ImageResponse extends BaseResponse implements Responseable {
        /**
         * Creates an object of this class
         *
-        * @param       $appInstance            An instance of a manageable application
-        * @return      $responseInstance       A prepared instance of this class
+        * @param       $applicationInstance    An instance of a manageable application
+        * @return      $responseInstance               A prepared instance of this class
         */
-       public static final function createImageResponse (ManageableApplication $appInstance) {
+       public static final function createImageResponse (ManageableApplication $applicationInstance) {
                // Get a new instance
                $responseInstance = new ImageResponse();
 
                // Set the application instance
-               $responseInstance->setApplicationInstance($appInstance);
+               $responseInstance->setApplicationInstance($applicationInstance);
 
                // Initialize the template engine here
-               $responseInstance->initTemplateEngine($appInstance);
+               $responseInstance->initTemplateEngine($applicationInstance);
 
                // Return the prepared instance
                return $responseInstance;
@@ -58,10 +58,10 @@ class ImageResponse extends BaseResponse implements Responseable {
        /**
         * Initializes the template engine instance
         *
-        * @param       $appInstance    An instance of a manageable application
+        * @param       $applicationInstance    An instance of a manageable application
         * @return      void
         */
-       public final function initTemplateEngine (ManageableApplication $appInstance) {
+       public final function initTemplateEngine (ManageableApplication $applicationInstance) {
                // Get config instance
                $cfg = $this->getConfigInstance();
 
@@ -73,7 +73,7 @@ class ImageResponse extends BaseResponse implements Responseable {
                $cfg->setConfigEntry('code_template_type'     , 'image');
 
                // Get a prepared instance
-               $this->setTemplateInstance($this->prepareTemplateInstance($appInstance));
+               $this->setTemplateInstance($this->prepareTemplateInstance($applicationInstance));
        }
 
        /**