]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/class_BaseHubSystem.php
Typo fixed, visitor introduced, SVN property set:
[hub.git] / application / hub / main / class_BaseHubSystem.php
index d9f33239bdb45f494049ea0d71e5b52bb683c2f3..824353d673b3fd8aa462d9944e259b2302209a18 100644 (file)
@@ -47,6 +47,11 @@ class BaseHubSystem extends BaseFrameworkSystem {
         */
        private $packageInstance = null;
 
+       /**
+        * A Receivable instance
+        */
+       private $receiverInstance = null;
+
        /**
         * State instance
         */
@@ -144,6 +149,25 @@ class BaseHubSystem extends BaseFrameworkSystem {
                return $this->packageInstance;
        }
 
+       /**
+        * Setter for receiver instance
+        *
+        * @param       $receiverInstance       A Receivable instance we shall set
+        * @return      void
+        */
+       protected final function setReceiverInstance (Receivable $receiverInstance) {
+               $this->receiverInstance = $receiverInstance;
+       }
+
+       /**
+        * Getter for receiver instance
+        *
+        * @return      $receiverInstance       A Receivable instance we shall get
+        */
+       protected final function getReceiverInstance () {
+               return $this->receiverInstance;
+       }
+
        /**
         * Setter for state instance
         *