public function Twig_Extension_Escaper::__construct in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Extension/Escaper.php \Twig_Extension_Escaper::__construct()
Constructor.
Parameters
string|false|callable $defaultStrategy An escaping strategy:
See also
setDefaultStrategy()
File
- vendor/
Twig/ Extension/ Escaper.php, line 22
Class
Code
public function __construct($defaultStrategy = 'html') {
$this
->setDefaultStrategy($defaultStrategy);
}