]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/factories/socket/class_SocketFactory.php
Fixed wrong super classes
[hub.git] / application / hub / main / factories / socket / class_SocketFactory.php
index 1d484264efb49e58a976073071e53e06f6ee6edd..5ba0c468fd5cb69387853e4864abd8ad210029f6 100644 (file)
@@ -22,7 +22,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class SocketFactory extends BaseHubHelper {
+class SocketFactory extends ObjectFactory {
        /**
         * Protected constructor
         *
@@ -74,7 +74,7 @@ class SocketFactory extends BaseHubHelper {
                        self::createDebugInstance(__CLASS__)->debugOutput('SOCKET-FACTORY: Created socket ' . $socketResource . '(' . gettype($socketResource) . ') from class ' . $className . '.');
 
                        // Construct container class, this won't be reached if an exception is thrown
-                       $containerInstance = ObjectFactory::CreateObjectByConfiguredName('socket_container_class', array($socketResource, NULL, $packageData));
+                       $containerInstance = self::CreateObjectByConfiguredName('socket_container_class', array($socketResource, NULL, $packageData));
 
                        // Register it with the registry
                        Registry::getRegistry()->addInstance($registryKey, $containerInstance);