Compressor instances can now be set/get
authorRoland Häder <roland@mxchange.org>
Fri, 5 Feb 2010 00:40:41 +0000 (00:40 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 5 Feb 2010 00:40:41 +0000 (00:40 +0000)
inc/classes/main/class_BaseFrameworkSystem.php

index ecca050..9ef0a80 100644 (file)
@@ -103,6 +103,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $stackerInstance = null;
 
+       /**
+        * A Compressor instance
+        */
+       private $compressorInstance = null;
+
        /**
         * The real class name
         */
@@ -1296,6 +1301,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
        public final function getStackerInstance () {
                return $this->stackerInstance;
        }
+
+       /**
+        * Setter for compressor instanxe
+        *
+        * @param       $compressorInstance     An instance of an compressor
+        * @return      void
+        */
+       public final function setCompressorInstance (Compressor $compressorInstance) {
+               $this->compressorInstance = $compressorInstance;
+       }
+
+       /**
+        * Getter for compressor instanxe
+        *
+        * @return      $compressorInstance     An instance of an compressor
+        */
+       public final function getCompressorInstance () {
+               return $this->compressorInstance;
+       }
 }
 
 // [EOF]