public function Twig_Sandbox_SecurityPolicy::setAllowedProperties in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Sandbox/SecurityPolicy.php \Twig_Sandbox_SecurityPolicy::setAllowedProperties()
File
- vendor/
Twig/ Sandbox/ SecurityPolicy.php, line 52
Class
- Twig_Sandbox_SecurityPolicy
- Represents a security policy which need to be enforced when sandbox mode is enabled.
Code
public function setAllowedProperties(array $properties) {
$this->allowedProperties = $properties;
}