Added communicatorInstance from 'hub' project.
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 3f3e6f7a779e7d06882c5871cfb3e24c5fcded7e..026a06baebf2432e4f1c4691cc7e754512d6fcfd 100644 (file)
@@ -213,6 +213,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $listenerInstance = NULL;
 
+       /**
+        * An instance of a communicator
+        */
+       private $communicatorInstance = NULL;
+
        /**
         * Thousands separator
         */
@@ -1504,6 +1509,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                return $this->listenerInstance;
        }
 
+       /**
+        * Getter for communicator instance
+        *
+        * @return      $communicatorInstance   An instance of a Communicator class
+        */
+       public final function getCommunicatorInstance () {
+               return $this->communicatorInstance;
+       }
+
+       /**
+        * Setter for communicator instance
+        *
+        * @param       $communicatorInstance   An instance of a Communicator class
+        * @return      void
+        */
+       protected final function setCommunicatorInstance (Communicator $communicatorInstance) {
+               $this->communicatorInstance = $communicatorInstance;
+       }
+
        /**
         * Setter for command name
         *