Wrong order
authorRoland Häder <roland@mxchange.org>
Sat, 19 May 2012 13:40:06 +0000 (13:40 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 19 May 2012 13:40:06 +0000 (13:40 +0000)
inc/classes/main/factories/registry/class_SocketRegistryFactory.php

index 54e452a8adfdf1b457db16bd49a523170bd52b7c..a4b25b99f14e312ee31b32c14fe990755a0c6790 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class SocketRegistryFactory extends ObjectFactory {
+       /**
+        * Protected constructor
+        *
+        * @return      void
+        */
+       protected function __construct () {
+               // Call parent constructor
+               parent::__construct(__CLASS__);
+       }
+
        /**
         * Returns a singleton socket registry instance. If an instance is found in
         * the registry it will be returned, else a new instance is created and
@@ -48,16 +58,6 @@ class SocketRegistryFactory extends ObjectFactory {
                // Return the instance
                return $registryInstance;
        }
-
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
 }
 
 // [EOF]