From 5fe6764d12630921081846f51473fc8b9b930289 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 21 May 2015 03:44:38 +0200 Subject: [PATCH] Added communicatorInstance from 'hub' project. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../main/class_BaseFrameworkSystem.php | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 3f3e6f7a..026a06ba 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -213,6 +213,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { */ private $listenerInstance = NULL; + /** + * An instance of a communicator + */ + private $communicatorInstance = NULL; + /** * Thousands separator */ @@ -1504,6 +1509,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { return $this->listenerInstance; } + /** + * Getter for communicator instance + * + * @return $communicatorInstance An instance of a Communicator class + */ + public final function getCommunicatorInstance () { + return $this->communicatorInstance; + } + + /** + * Setter for communicator instance + * + * @param $communicatorInstance An instance of a Communicator class + * @return void + */ + protected final function setCommunicatorInstance (Communicator $communicatorInstance) { + $this->communicatorInstance = $communicatorInstance; + } + /** * Setter for command name * -- 2.30.2