public function Twig_Extension_Sandbox::checkPropertyAllowed

File

drupal/core/vendor/twig/twig/lib/Twig/Extension/Sandbox.php, line 87

Class

Twig_Extension_Sandbox

Code

public function checkPropertyAllowed($obj, $method) {
  if ($this
    ->isSandboxed()) {
    $this->policy
      ->checkPropertyAllowed($obj, $method);
  }
}