Marks HTML that shouldn't be escaped.
More...
|
static | getHtml ( $input) |
| Provide a string or HtmlArmor object and get safe HTML back.
|
|
Marks HTML that shouldn't be escaped.
- Stability: newable
- Since
- 1.28
Definition at line 30 of file HtmlArmor.php.
◆ __construct()
HtmlArmor::__construct |
( |
| $value | ) |
|
- Stability: stable
- to call
- Parameters
-
Definition at line 43 of file HtmlArmor.php.
◆ getHtml()
static HtmlArmor::getHtml |
( |
| $input | ) |
|
|
static |
Provide a string or HtmlArmor object and get safe HTML back.
- Parameters
-
- Returns
- string|null safe for usage in HTML, or null if the HtmlArmor instance was wrapping null.
Definition at line 55 of file HtmlArmor.php.
The documentation for this class was generated from the following file: