public static function strip($string)
{
return self::getInstance()->getConsoleColorer()->strip($string);
}
/** * Writes the message $msg to STDERR. * * @param string $msg The message to output * @param string $status Output status * * @return \Phrozn\Outputter */ public function stderr($msg, $status = self::STATUS_FAIL) { if (defined('STDERR')) { fwrite(STDERR, $msg); } else { $msg = Color::strip(Color::convert($msg)); $this->lines[] = trim($msg); } return $this; }