]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/output/debug/console/class_DebugConsoleOutput.php
Continued:
[core.git] / inc / main / classes / output / debug / console / class_DebugConsoleOutput.php
index 3598cc18e74804a62f536d465863638c275d0cdf..181248fec47507b2b233ee7803f1ec2fef602d96 100644 (file)
@@ -1,10 +1,19 @@
 <?php
+// Own namespace
+namespace CoreFramework\Debug\Output;
+
+// Import framework stuff
+use CoreFramework\Debug\Debugger;
+use CoreFramework\Output\Debug\BaseDebugOutput;
+use CoreFramework\Registry\Registerable;
+use CoreFramework\Stream\Output\OutputStreamer;
+
 /**
  * A debug output class for the console (e.g. hub software)
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -69,7 +78,7 @@ class DebugConsoleOutput extends BaseDebugOutput implements Debugger, OutputStre
                } // END - if
 
                // And print it out...
-               printf('%s%s', $output, chr(10));
+               printf('%s%s', str_replace('-&gt;', '->', $output), PHP_EOL);
        }
 
        /**
@@ -130,7 +139,5 @@ class DebugConsoleOutput extends BaseDebugOutput implements Debugger, OutputStre
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}