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::checkSecurity($tags, $filters, $f
public TwigSandboxPolicy::checkMethodAllowed($obj, $method)
Default sandbox policy for Twig templates. Twig's sandbox extension is usually used to evaluate untrusted code by limiting access to potentially
An array of whitelisted method prefixes -- any method starting with one of these prefixes will be allowed. File
public TwigSandboxPolicy::checkPropertyAllowed($obj, $property)
public TwigSandboxPolicy::__construct()