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