X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ffactories%2Fregistry%2Fclass_SocketRegistryFactory.php;h=34ebbc996aa368fc8108285d34589adfb84fff6c;hp=54e452a8adfdf1b457db16bd49a523170bd52b7c;hb=b35a2f9a19e41355f6826d7c9842dce3268c4d84;hpb=69e9ab802a3a51d45aa656727c0ee63ec3fbc5ae diff --git a/inc/classes/main/factories/registry/class_SocketRegistryFactory.php b/inc/classes/main/factories/registry/class_SocketRegistryFactory.php index 54e452a8..34ebbc99 100644 --- a/inc/classes/main/factories/registry/class_SocketRegistryFactory.php +++ b/inc/classes/main/factories/registry/class_SocketRegistryFactory.php @@ -2,11 +2,11 @@ /** * A factory class for socket registries * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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]