]> git.mxchange.org Git - core.git/commitdiff
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 ecca05012742e2f3eff381b42a470bfd0854bea6..9ef0a809107303e908594b27bd6f5553eff4cf50 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]