X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fclass_BaseFrameworkSystem.php;h=b65564720e8eaa092f0bf3ad94d0f86d21355c94;hp=ae19aeb4938c66af993788a76cfbd9016413b6a0;hb=94f39c01ee274ffee017375906b171f9eb418ab3;hpb=88edbab806256235ce080fc18d6602061777a6ba diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index ae19aeb4..b6556472 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -129,7 +129,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { private $parserInstance = NULL; /** - * A ProtocolHandler instance + * A HandleableProtocol instance */ private $protocolInstance = NULL; @@ -199,10 +199,15 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { private $minableInstance = NULL; /** - * A Directory instance + * A FrameworkDirectory instance */ private $directoryInstance = NULL; + /** + * Listener instance + */ + private $listenerInstance = NULL; + /** * Thousands separator */ @@ -1018,19 +1023,19 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { } /** - * Setter for ProtocolHandler instance + * Setter for HandleableProtocol instance * - * @param $protocolInstance An instance of an ProtocolHandler + * @param $protocolInstance An instance of an HandleableProtocol * @return void */ - public final function setProtocolInstance (ProtocolHandler $protocolInstance = NULL) { + public final function setProtocolInstance (HandleableProtocol $protocolInstance = NULL) { $this->protocolInstance = $protocolInstance; } /** - * Getter for ProtocolHandler instance + * Getter for HandleableProtocol instance * - * @return $protocolInstance An instance of an ProtocolHandler + * @return $protocolInstance An instance of an HandleableProtocol */ public final function getProtocolInstance () { return $this->protocolInstance; @@ -1325,24 +1330,43 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { } /** - * Setter for Directory instance + * Setter for FrameworkDirectory instance * * @param $directoryInstance A FrameworkDirectoryPointer instance * @return void */ - protected final function setDirectoryInstance (Directory $directoryInstance) { + protected final function setDirectoryInstance (FrameworkDirectory $directoryInstance) { $this->directoryInstance = $directoryInstance; } /** - * Getter for directory instance + * Getter for FrameworkDirectory instance * - * @return $directoryInstance A Directory instance + * @return $directoryInstance A FrameworkDirectory instance */ protected final function getDirectoryInstance () { 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