You are here

public function Twig_Extension_Escaper::__construct in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Extension/Escaper.php \Twig_Extension_Escaper::__construct()

File

vendor/Twig/Extension/Escaper.php, line 15

Class

Twig_Extension_Escaper

Code

public function __construct($defaultStrategy = 'html') {
  $this
    ->setDefaultStrategy($defaultStrategy);
}