From 5935483b160f5c59957b6aac928ebb8da2943368 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 25 Jun 2014 19:23:56 +0200 Subject: [PATCH] Added setter/getter for a Minable instance (interface still in '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 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 -- 2.30.2