X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ffactories%2Fregistry%2Fclass_SocketRegistryFactory.php;fp=inc%2Fclasses%2Fmain%2Ffactories%2Fregistry%2Fclass_SocketRegistryFactory.php;h=a4b25b99f14e312ee31b32c14fe990755a0c6790;hp=54e452a8adfdf1b457db16bd49a523170bd52b7c;hb=d1b569cc56fa416dd4b60e35a3ffde9d52f11b4a;hpb=103fb2d430cf09df2c4515140001c2476d5cf69e diff --git a/inc/classes/main/factories/registry/class_SocketRegistryFactory.php b/inc/classes/main/factories/registry/class_SocketRegistryFactory.php index 54e452a8..a4b25b99 100644 --- a/inc/classes/main/factories/registry/class_SocketRegistryFactory.php +++ b/inc/classes/main/factories/registry/class_SocketRegistryFactory.php @@ -22,6 +22,16 @@ * along with this program. If not, see . */ 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]