self::$consoleInstance = new ConsoleOutput();
// Set the content type
+ // @TODO Need to rewrite this to $requestInstance->addHeader()
if (!empty($contentType)) {
@header(sprintf("Content-type: %s",
$contentType
));
- }
+ } // END - if
// Return instance
return self::$consoleInstance;
* @param $outStream Something we shall sent to the console
* @return void
*/
- public final function output ($outStream=false) {
+ public final function output ($outStream = false) {
if ($outStream === false) {
// Output something here...
foreach ($this->vars as $var => $value) {