class Illuminate / Support / HtmlString
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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.