An array of whitelisted methods in the form of methodName => TRUE. File core/lib/Drupal/Core/Temp
An array of class names for which any method calls are allowed. File core/lib/Drupal/Core/Template/TwigSandboxPolicy
public TwigSandboxPolicy::checkPropertyAllowed($obj, $property)
public TwigSandboxPolicy::checkMethodAllowed($obj, $method)
An array of whitelisted method prefixes -- any method starting with one of these prefixes will be allowed. File
Default sandbox policy for Twig templates. Twig's sandbox extension is usually used to evaluate untrusted code by limiting access to potentially
public TwigSandboxPolicy::checkSecurity($tags, $filters, $f
public TwigSandboxPolicy::__construct()