From af1afea3484b84fa30d8a02e05ad6dfcb6a557c9 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 31 Mar 2014 22:24:02 +0200 Subject: [PATCH] Added missing getter/setter for miner instance. Signed-off-by: Roland Haeder --- application/hub/main/class_BaseHubSystem.php | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/application/hub/main/class_BaseHubSystem.php b/application/hub/main/class_BaseHubSystem.php index 4efd83b8f..ef185202c 100644 --- a/application/hub/main/class_BaseHubSystem.php +++ b/application/hub/main/class_BaseHubSystem.php @@ -53,6 +53,11 @@ class BaseHubSystem extends BaseFrameworkSystem { */ private $cruncherInstance = NULL; + /** + * An instance of a miner + */ + private $minerInstance = NULL; + /** * Listener instance */ @@ -142,6 +147,25 @@ class BaseHubSystem extends BaseFrameworkSystem { $this->cruncherInstance = $cruncherInstance; } + /** + * Getter for miner instance + * + * @return $minerInstance An instance of a miner miner + */ + public final function getMinerInstance () { + return $this->minerInstance; + } + + /** + * Setter for miner instance + * + * @param $minerInstance An instance of a miner miner + * @return void + */ + protected final function setMinerInstance (MinerHelper $minerInstance) { + $this->minerInstance = $minerInstance; + } + /** * Setter for listener instance * -- 2.39.5