*/
private $outgoingQueueInstance = null;
- /**
- * Every procuded item/unit/etc. usually have a source
- */
- private $sourceInstance = null;
-
/**
* Protected constructor
*
* @param $outgoingQueueInstance The out-going work queue instance
* @return void
*/
- private function setOutgoingQueueInstance (Stackable $outgoingQueueInstance) {
+ private final function setOutgoingQueueInstance (Stackable $outgoingQueueInstance) {
$this->outgoingQueueInstance = $outgoingQueueInstance;
}
*
* @param $outgoingQueueInstance The out-going work queue instance
*/
- protected function getOutgoingQueueInstance () {
+ protected final function getOutgoingQueueInstance () {
return $this->outgoingQueueInstance;
}
- /**
- * Setter for a Sourceable instance
- *
- * @param $sourceInstance The Sourceable instance
- * @return void
- */
- protected function setSourceInstance (Sourceable $sourceInstance) {
- $this->sourceInstance = $sourceInstance;
- }
-
- /**
- * Getter for a Sourceable instance
- *
- * @param $sourceInstance The Sourceable instance
- */
- protected function getSourceInstance () {
- return $this->sourceInstance;
- }
-
/**
* Initializes this producer, this method must be overwritten.
*