17 lines
469 B
Plaintext
17 lines
469 B
Plaintext
<?php
|
|
|
|
use Twig\Environment;
|
|
|
|
/**
|
|
* Escapes a string.
|
|
*
|
|
* @param mixed $string The value to be escaped
|
|
* @param string $strategy The escaping strategy
|
|
* @param string $charset The charset
|
|
* @param bool $autoescape Whether the function is called by the auto-escaping feature (true) or by the developer (false)
|
|
*
|
|
* @return string
|
|
*/
|
|
function twig_escape_filter(Environment $env, $string, $strategy = 'html', $charset = null, $autoescape = false) {
|
|
}
|