Debugging continued:
[core.git] / inc / main / classes / output / web / class_WebOutput.php
index 17031f2d8922a27f67cec3b1484e95b69f237966..e1299ef1157f9f12a17dea3466789dcc4a937129 100644 (file)
@@ -1,4 +1,13 @@
 <?php
+// Own namespace
+namespace CoreFramework\Output;
+
+// Import framework stuff
+use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Output\BaseOutput;
+use CoreFramework\Registry\Registerable;
+use CoreFramework\Stream\Output\OutputStreamer;
+
 /**
  * This class simply puts HTML code / JavaScript code or CSS code out to the
  * browser
@@ -94,7 +103,7 @@ class WebOutput extends BaseOutput implements OutputStreamer, Registerable {
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function seek ($offset, $whence = SEEK_SET) {
-               self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] offset=' . $offset . ',whence=' . $whence);
+               self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] offset=' . $offset . ',whence=' . $whence);
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
@@ -107,7 +116,5 @@ class WebOutput extends BaseOutput implements OutputStreamer, Registerable {
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}