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=9221c4caa3d0e702a6c2f0fb1da982f71ff1f0e4;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 fef2f6ebb..73708c702 100644 --- a/application/hub/main/class_BaseHubSystem.php +++ b/application/hub/main/class_BaseHubSystem.php @@ -472,6 +472,25 @@ class BaseHubSystem extends BaseFrameworkSystem { $this->protocolName = $protocolName; } + /** + * 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. @@ -703,25 +722,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]