HtmlString
class HtmlString implements Htmlable, Stringable (View source)
Properties
| protected string | $html | The HTML string. |
Methods
__construct(string $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
__construct(string $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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.