Added communicatorInstance from 'hub' project.
authorRoland Haeder <roland@mxchange.org>
Thu, 21 May 2015 01:44:38 +0000 (03:44 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 21 May 2015 01:44:38 +0000 (03:44 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/class_BaseFrameworkSystem.php

index 3f3e6f7a779e7d06882c5871cfb3e24c5fcded7e..026a06baebf2432e4f1c4691cc7e754512d6fcfd 100644 (file)
@@ -213,6 +213,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $listenerInstance = NULL;
 
         */
        private $listenerInstance = NULL;
 
+       /**
+        * An instance of a communicator
+        */
+       private $communicatorInstance = NULL;
+
        /**
         * Thousands separator
         */
        /**
         * Thousands separator
         */
@@ -1504,6 +1509,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                return $this->listenerInstance;
        }
 
                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
         *
        /**
         * Setter for command name
         *