Added method stubs to satisfy interface
authorRoland Häder <roland@mxchange.org>
Sun, 22 Apr 2012 20:05:14 +0000 (20:05 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 22 Apr 2012 20:05:14 +0000 (20:05 +0000)
inc/classes/main/debug/class_DebugErrorLogOutput.php
inc/classes/main/debug/class_DebugWebOutput.php

index 3fa1f71..9c74137 100644 (file)
@@ -79,6 +79,18 @@ class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger, Outpu
                        $this->outputStream($outStream);
                }
        }
+
+       /**
+        * 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]
index b7ac4f0..b70ca33 100644 (file)
@@ -68,6 +68,18 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre
                        $this->outputStream($outStream);
                }
        }
+
+       /**
+        * 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]