HtmlString
class HtmlString implements Htmlable, Stringable
Properties
| protected mixed | $html | The HTML string. |
Methods
__construct(mixed $html = '')
Create a new HTML string instance.
string
toHtml()
Get the HTML string.
bool
isEmpty()
Determine if the given HTML string is empty.
bool
isNotEmpty()
Determine if the given HTML string is not empty.
string
__toString()
Get the HTML string.
Details
at line 20
__construct(mixed $html = '')
Create a new HTML string instance.
at line 28
string
toHtml()
Get the HTML string.
at line 36
bool
isEmpty()
Determine if the given HTML string is empty.
at line 44
bool
isNotEmpty()
Determine if the given HTML string is not empty.
at line 52
string
__toString()
Get the HTML string.