$buffer
$buffer : string
最终所生成的字符串数据
在StringBuilder的基础之上增加了更加方便的字符串替换方法
Replace(string $find, string $replaceValue) : \StringBuilder
string | $find | |
string | $replaceValue |
AppendLine( $str = "") : \StringBuilder
Appends the default line terminator, or a copy of a specified string and the default line terminator, to the end of this instance.
$str |
Append(string $str) : \StringBuilder
Append the text into buffer without add new line
string | $str | The text for append into buffer. |
return current object instance.