class Illuminate / Support / HtmlString

HtmlString

Implements

Properties

protected

$html string

The HTML string.

Default: null

Methods

public

__construct ( $html ) : void

Create a new HTML string instance.

Parameters

  • $html string
public

toHtml ( ) : string

Get the HTML string.

public

isEmpty ( ) : bool

Determine if the given HTML string is empty.

public

isNotEmpty ( ) : bool

Determine if the given HTML string is not empty.

public

__toString ( ) : string

Get the HTML string.