public function Twig_Extension_Sandbox::checkMethodAllowed in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Extension/Sandbox.php \Twig_Extension_Sandbox::checkMethodAllowed()
File
- vendor/
twig/ twig/ lib/ Twig/ Extension/ Sandbox.php, line 70
Class
Code
public function checkMethodAllowed($obj, $method) {
if ($this
->isSandboxed()) {
$this->policy
->checkMethodAllowed($obj, $method);
}
}