Moved getter near it's setter counter part to have them next to each other.
authorRoland Haeder <roland@mxchange.org>
Sat, 21 Mar 2015 20:59:02 +0000 (21:59 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 21 Mar 2015 20:59:02 +0000 (21:59 +0100)
Still this particular "base" class needs cleanup in things of position of
methods: first private, then protected then public and always keep setter
and getter close to each other and at top position (right after contructor).
All existing factory methods always lead setters and getters (right after
constructor).

Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/template/class_BaseTemplateEngine.php

index d47d80cf09c79befbe83f6ed973f5e2481bed77c..306867ff7b12ec71077acd39767934e6578a853c 100644 (file)
@@ -471,6 +471,15 @@ class BaseTemplateEngine extends BaseFrameworkSystem {
                $this->templateType = (string) $templateType;
        }
 
+       /**
+        * Getter for template type
+        *
+        * @return      $templateType   The current template's type
+        */
+       public final function getTemplateType () {
+               return $this->templateType;
+       }
+
        /**
         * Setter for the last loaded template's FQFN
         *
@@ -579,15 +588,6 @@ class BaseTemplateEngine extends BaseFrameworkSystem {
                $this->compileOutputPath = (string) $compileOutputPath;
        }
 
-       /**
-        * Getter for template type
-        *
-        * @return      $templateType   The current template's type
-        */
-       public final function getTemplateType () {
-               return $this->templateType;
-       }
-
        /**
         * Unsets the given offset in the variable group
         *