Moved outputInstance to BaseFrameworkSystem + added getter for it.
[core.git] / inc / classes / middleware / debug / class_DebugMiddleware.php
index a275de113a3b9c01ecf3a74a1af2c983d729e341..541bbd2b218d7f00d4df40f88780de8bd1f0bbfc 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class DebugMiddleware extends BaseMiddleware implements Registerable {
-       /**
-        * The concrete output instance
-        */
-       private $outputInstance = NULL;
-
        /**
         * An instance of this class
         */
@@ -107,16 +102,6 @@ class DebugMiddleware extends BaseMiddleware implements Registerable {
                return self::$selfInstance;
        }
 
-       /**
-        * Setter for output instance
-        *
-        * @param       $outputInstance The debug output instance
-        * @return      void
-        */
-       public final function setOutputInstance (OutputStreamer $outputInstance) {
-               $this->outputInstance = $outputInstance;
-       }
-
        /**
         * This method shall send debug output which can be HTML code for the
         * browser or debug lines for a log file, etc. to the registered debug