From: Roland Haeder Date: Wed, 25 Jun 2014 17:23:56 +0000 (+0200) Subject: Added setter/getter for a Minable instance (interface still in 'hub' project). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5935483b160f5c59957b6aac928ebb8da2943368;p=core.git Added setter/getter for a Minable instance (interface still in '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 40bb94e0..ff444c06 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -193,6 +193,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { */ private $blockInstance = NULL; + /** + * A Minable instance + */ + private $minableInstance = NULL; + /** * Thousands separator */ @@ -1295,6 +1300,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { return $this->blockInstance; } + /** + * Setter for Minable instance + * + * @param $minableInstance A Minable instance + * @return void + */ + protected final function setMinableInstance (Minable $minableInstance) { + $this->minableInstance = $minableInstance; + } + + /** + * Getter for minable instance + * + * @return $minableInstance A Minable instance + */ + protected final function getMinableInstance () { + return $this->minableInstance; + } + /** * Checks whether an object equals this object. You should overwrite this * method to implement own equality checks