You are here

public function Twig_Sandbox_SecurityPolicy::setAllowedTags in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Sandbox/SecurityPolicy.php \Twig_Sandbox_SecurityPolicy::setAllowedTags()

File

vendor/Twig/Sandbox/SecurityPolicy.php, line 34

Class

Twig_Sandbox_SecurityPolicy
Represents a security policy which need to be enforced when sandbox mode is enabled.

Code

public function setAllowedTags(array $tags) {
  $this->allowedTags = $tags;
}