HtmlString::resolve()
Walks an array (and any stdClass in it) recursively and renames any key whose value is an HtmlString (or a list of them) from key to <key>, so the JS side can detect and rewrap the value.
HtmlString::resolve(array $data): array
Parameters
| Name | Type | Default |
|---|---|---|
| $datarequired | array |
no default value |
Return type
array