]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/streams/class_
The name "Pointer" was to general, better use "FilePointer" to make it clear
[core.git] / inc / classes / main / streams / class_
index fe179d01c490dd9688048e344e92dc4286f645fb..d7e24e2d60e58f5b0a753aeadbc5911f7636b599 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class ???Stream extends BaseStream implements Streamable {
+class ???Stream extends BaseStream implements Stream {
        /**
         * Protected constructor
         *
@@ -53,7 +53,7 @@ class ???Stream extends BaseStream implements Streamable {
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function streamData ($data) {
-               $this->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+               self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 }