From: Roland Häder Date: Sun, 17 Apr 2011 22:09:50 +0000 (+0000) Subject: Moved a method for private-protected-public sort order X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=893b5daaf5008bdf58c26d5fc6195899e153be05;p=hub.git Moved a method for private-protected-public sort order --- diff --git a/application/hub/main/helper/connection/class_BaseConnectionHelper.php b/application/hub/main/helper/connection/class_BaseConnectionHelper.php index 4c68a0251..5ff412c44 100644 --- a/application/hub/main/helper/connection/class_BaseConnectionHelper.php +++ b/application/hub/main/helper/connection/class_BaseConnectionHelper.php @@ -138,17 +138,6 @@ class BaseConnectionHelper extends BaseHubHelper implements Registerable, Protoc $this->address = $address; } - /** - * "Accept" a visitor by simply calling it back - * - * @param $visitorInstance A Visitor instance - * @return void - */ - protected final function accept (Visitor $visitorInstance) { - // Just call the visitor - $visitorInstance->visitConnectionHelper($this); - } - /** * "Getter" for raw data from a package array. A fragmenter is used which * will returns us only so many raw data which fits into the back buffer. @@ -187,6 +176,17 @@ class BaseConnectionHelper extends BaseHubHelper implements Registerable, Protoc return $rawDataChunk; } + /** + * "Accept" a visitor by simply calling it back + * + * @param $visitorInstance A Visitor instance + * @return void + */ + protected final function accept (Visitor $visitorInstance) { + // Just call the visitor + $visitorInstance->visitConnectionHelper($this); + } + /** * Sends raw package data to the recipient *