*/
private $cruncherInstance = NULL;
+ /**
+ * An instance of a miner
+ */
+ private $minerInstance = NULL;
+
/**
* Listener instance
*/
$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
*