class HtmlString implements Htmlable (View source)

Properties

protected string $html

The HTML string.

Methods

void
__construct(string $html)

Create a new HTML string instance.

string
toHtml()

Get the HTML string.

string
__toString()

Get the HTML string.

Details

void __construct(string $html)

Create a new HTML string instance.

Parameters

string $html

Return Value

void

string toHtml()

Get the HTML string.

Return Value

string

string __toString()

Get the HTML string.

Return Value

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.