Final Class Yiisoft\Html\NoEncode
| Inheritance | Yiisoft\Html\NoEncode |
|---|---|
| Implements | Yiisoft\Html\NoEncodeStringableInterface |
The NoEncode class is designed to wrap content that should not be encoded in HTML tags.
For example:
// The following will produce "<b><i>hello</i></b>"
echo Html:b(NoEncode::string('<i>hello</i>'));
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __toString() | Yiisoft\Html\NoEncode | |
| string() | Yiisoft\Html\NoEncode |
Signup or Login in order to comment.