/** * Prints a string to STDOUT. * * @param string $string the string to print * @return int|boolean Number of bytes printed or false on error */ public static function stdout($string) { $indentStr = self::$isNewLine ? str_repeat(' ', self::$indent) : ''; return parent::stdout($indentStr . $string); }