Files
farmOS-dev/vendor/mglaman/phpstan-drupal/stubs/Twig/functions.stub
2024-12-10 15:08:16 +01:00

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) {
}