From: Roland Haeder Date: Thu, 21 May 2015 01:44:38 +0000 (+0200) Subject: Added communicatorInstance from 'hub' project. X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=5fe6764d12630921081846f51473fc8b9b930289 Added communicatorInstance from 'hub' project. Signed-off-by: Roland Häder --- 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 *