class
Illuminate
/
Support
/
HtmlString
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
HtmlString
Implements
- Htmlable
- Stringable
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.