public function Twig_Extension_Sandbox::__construct in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Extension/Sandbox.php \Twig_Extension_Sandbox::__construct()
File
- vendor/
Twig/ Extension/ Sandbox.php, line 17
Class
Code
public function __construct(Twig_Sandbox_SecurityPolicyInterface $policy, $sandboxed = false) {
$this->policy = $policy;
$this->sandboxedGlobally = $sandboxed;
}