- __construct()
- addText()
- setBold()
- setColor()
- setFont()
- setItalic()
- outXml()
- setSize()
- setUnderline()
public function __construct(?string $text = '')
string|null $text
public function addText(string $text): RichText
string $text
public function setBold(): RichText
None
public function setColor(string $color): RichText
string $color
public function setFont(string $font): RichText
string $font
public function setItalic(): RichText
None
public function outXml(): string
None
public function setSize(int $size): RichText
int $size
public function setUnderline(): RichText
None