Parameters
$text - The add text.
Returns
The added text.
Syntax
| PHP |
|
public function AddText(string $text): void
|
Appends text without modification.
Remarks
AddText() is an "Append" method. It adds the unmodified text to the builder.
Example
| PHP |
$tb = new LJCTextBuilder();
// Example Method:
$tb->AddText("This is some appended text.");
$result = $tb->ToString();
// result:
// This is some appended text.
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.