From: Roland Haeder Date: Wed, 24 Dec 2014 01:07:58 +0000 (+0100) Subject: Moved from 'hub' code. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=94f39c01ee274ffee017375906b171f9eb418ab3;p=core.git Moved from 'hub' code. Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 9fe6e72c..b6556472 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -203,6 +203,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { */ private $directoryInstance = NULL; + /** + * Listener instance + */ + private $listenerInstance = NULL; + /** * Thousands separator */ @@ -1343,6 +1348,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { return $this->directoryInstance; } + /** + * Setter for listener instance + * + * @param $listenerInstance A Listenable instance + * @return void + */ + protected final function setListenerInstance (Listenable $listenerInstance) { + $this->listenerInstance = $listenerInstance; + } + + /** + * Getter for listener instance + * + * @return $listenerInstance A Listenable instance + */ + protected final function getListenerInstance () { + return $this->listenerInstance; + } + /** * Checks whether an object equals this object. You should overwrite this * method to implement own equality checks