]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/debug/class_DebugConsoleOutput.php
Added required method streamData(), maybe someday we will rewrite these classes?
[core.git] / inc / classes / main / debug / class_DebugConsoleOutput.php
index a513d63394e81bba1896b7ecbb8ec2c23f55e6af..bf6e0980063726a51221acc283bc0f3d45ce8b0c 100644 (file)
@@ -70,6 +70,18 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output
                        $this->outputStream($outStream);
                } // END - if
        }
+
+       /**
+        * Streams the data and maybe does something to it
+        *
+        * @param       $data   The data (string mostly) to "stream"
+        * @return      $data   The data (string mostly) to "stream"
+        * @throws      UnsupportedOperationException   If this method is called
+        */
+       public function streamData ($data) {
+               $this->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+               throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
+       }
 }
 
 // [EOF]