]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/class_BaseFrameworkSystem.php
Getter for source instance added.
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 9c1cf4ca8ce05f6277bb79c3bf323a92de74a010..6ac52f82b794b8afbb0fe68fa1e507f053bb6053 100644 (file)
@@ -153,6 +153,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $handlerInstance = null;
 
+       /**
+        * Visitor handler instance
+        */
+       private $visitorInstance = null;
+
        /**
         * The real class name
         */
@@ -1585,6 +1590,15 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                $this->sourceInstance = $sourceInstance;
        }
 
+       /**
+        * Getter for a Sourceable instance
+        *
+        * @return      $sourceInstance The Sourceable instance
+        */
+       protected final function getSourceInstance () {
+               return $this->sourceInstance;
+       }
+
        /**
         * Getter for a InputStreamable instance
         *
@@ -1642,6 +1656,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                return $this->handlerInstance;
        }
 
+       /**
+        * Setter for visitor instance
+        *
+        * @param       $visitorInstance        A Visitor instance
+        * @return      void
+        */
+       protected final function setVisitorInstance (Visitor $visitorInstance) {
+               $this->visitorInstance = $visitorInstance;
+       }
+
+       /**
+        * Getter for visitor instance
+        *
+        * @return      $visitorInstance        A Visitor instance
+        */
+       protected final function getVisitorInstance () {
+               return $this->visitorInstance;
+       }
+
        /**
         * Setter for raw package Data
         *