Phrozn\Outputter\HtmlOutputter::stdout PHP Method

stdout() public method

Writes the message $msg to STDOUT.
public stdout ( string $msg, string $status = self::STATUS_OK ) : Phrozn\Outputter
$msg string The message to output
$status string Ignored
return Phrozn\Outputter
    public function stdout($msg, $status = self::STATUS_OK)
    {
        $msg = $this->removeColors($msg);
        $msg = $this->replaceEOLs($msg);
        if (defined('STDOUT')) {
            fwrite(STDOUT, $msg);
        } else {
            echo $msg;
            if (count(\ob_get_status()) !== 0) {
                ob_flush();
            }
        }
        return $this;
    }