Twig_Extension_Escaper::setDefaultStrategy
Sets the default strategy to use when not defined by the user.
The strategy can be a valid PHP callback that takes the template "filename" as an argument and returns the strategy to use.
Signature
public function setDefaultStrategy(mixed
$defaultStrategy )
Parameters
$defaultStrategy
— mixed- An escaping strategy