*/
private $currentBlock = '';
+ /**
+ * An instance of a Block class
+ */
+ private $blockInstance = NULL;
+
/**
* Protected constructor
*
$this->initCountersGapsArray();
}
+ /**
+ * Setter for Block instance
+ *
+ * @param $blockInstance An instance of an Block class
+ * @return void
+ */
+ protected final function setBlockInstance (Block $blockInstance) {
+ $this->blockInstance = $blockInstance;
+ }
+
+ /**
+ * Getter for Block instance
+ *
+ * @return $blockInstance An instance of an Block class
+ */
+ public final function getBlockInstance () {
+ return $this->blockInstance;
+ }
+
/**
* Checks whether the abstracted file only contains gaps by counting all
* gaps' bytes together and compare it to total length.