From: Roland Haeder Date: Fri, 17 Oct 2014 21:21:25 +0000 (+0200) Subject: Moved getter/setter to proper location. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c35639d271a9dcdf4aa62ffb74a2ce6ecddfeade;p=hub.git Moved getter/setter to proper location. Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/class_BaseHubSystem.php b/application/hub/main/class_BaseHubSystem.php index c924c4e17..f41ac725c 100644 --- a/application/hub/main/class_BaseHubSystem.php +++ b/application/hub/main/class_BaseHubSystem.php @@ -453,6 +453,25 @@ class BaseHubSystem extends BaseFrameworkSystem { return $this->getConfigInstance()->getConfigEntry('session_id'); } + /** + * Getter for protocol name + * + * @return $protocolName Name of used protocol + */ + public final function getProtocolName () { + return $this->protocolName; + } + + /** + * Setter for protocol name + * + * @param $protocolName Name of used protocol + * @return void + */ + protected final function setProtocolName ($protocolName) { + $this->protocolName = $protocolName; + } + /** * Constructs a callable method name from given socket error code. If the * method is not found, a generic one is used. @@ -684,25 +703,6 @@ class BaseHubSystem extends BaseFrameworkSystem { // Return result return $stateName; } - - /** - * Getter for protocol name - * - * @return $protocolName Name of used protocol - */ - public final function getProtocolName () { - return $this->protocolName; - } - - /** - * Setter for protocol name - * - * @param $protocolName Name of used protocol - * @return void - */ - protected final function setProtocolName ($protocolName) { - $this->protocolName = $protocolName; - } } // [EOF]