Symfony\Component\Templating\PhpEngine::setEscaper
Adds an escaper for the given context.
Signature
public function setEscaper(string
$context,
mixed
$escaper )
Parameters
$context
— string- The escaper context (html, js, ...)
$escaper
— mixed- A PHP callable