Zend\Filter\HtmlEntities::filter
Defined by Zend\Filter\FilterInterface
Returns the string $value, converting characters to their corresponding HTML entity equivalents where they exist If the value provided is non-scalar, the value will remain unfiltered
Signature
public function filter(string
$value )
Parameters
$value
— string
Returns
- string|mixed
Errors/Exceptions
-
DomainException
- on encoding mismatches