X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmiddleware%2Fdebug%2Fclass_DebugMiddleware.php;h=811ca5f66c4ee6e3d1b218a13168f4e40207e1a7;hp=c5f49f5eb0721f45191de4230575f35ef438fcf1;hb=e6fa5aeb4f807fb3d5f3b025faced65ede4140dd;hpb=376f18065add180430bd35fb6d70980211434f24 diff --git a/inc/classes/middleware/debug/class_DebugMiddleware.php b/inc/classes/middleware/debug/class_DebugMiddleware.php index c5f49f5e..811ca5f6 100644 --- a/inc/classes/middleware/debug/class_DebugMiddleware.php +++ b/inc/classes/middleware/debug/class_DebugMiddleware.php @@ -104,9 +104,10 @@ class DebugMiddleware extends BaseMiddleware implements Registerable { * output instance. * * @param $outStream Data we shall 'stream' out to the world + * @param $stripTags Whether HTML tags shall be stripped out * @return void */ - public final function output ($outStream) { + public final function output ($outStream, $stripTags = false) { // Is the output stream set if (empty($outStream)) { // @TODO Initialization phase @@ -114,7 +115,7 @@ class DebugMiddleware extends BaseMiddleware implements Registerable { } // END - if // Use the output instance - $this->outputInstance->outputStream($outStream); + $this->outputInstance->outputStream($outStream, $stripTags); } }