]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/factories/states/class_StateFactory.php
A whole bunch of classes/interfaces/exceptions added, many refacturings:
[hub.git] / application / hub / main / factories / states / class_StateFactory.php
index c726543e7ef295894ec639114bcd3fd518999778..f39e0cbf3017c58e57c69df72fa68c444fef7ca7 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class StateFactory extends ObjectFactory {
+       /**
+        * Protected constructor
+        *
+        * @return      void
+        */
+       protected function __construct () {
+               // Call parent constructor
+               parent::__construct(__CLASS__);
+       }
+
        /**
         * Creates an instance of a configurable node state and sets it in the
         * given node instance.
@@ -43,15 +53,7 @@ class StateFactory extends ObjectFactory {
                // For any purposes, return the state instance
                return $stateInstance;
        }
-
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
 }
+
+// [EOF]
 ?>