You are here

public function Twig_Extension_Sandbox::isSandboxed in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Extension/Sandbox.php \Twig_Extension_Sandbox::isSandboxed()
4 calls to Twig_Extension_Sandbox::isSandboxed()
Twig_Extension_Sandbox::checkMethodAllowed in vendor/Twig/Extension/Sandbox.php
Twig_Extension_Sandbox::checkPropertyAllowed in vendor/Twig/Extension/Sandbox.php
Twig_Extension_Sandbox::checkSecurity in vendor/Twig/Extension/Sandbox.php
Twig_Extension_Sandbox::ensureToStringAllowed in vendor/Twig/Extension/Sandbox.php

File

vendor/Twig/Extension/Sandbox.php, line 53

Class

Twig_Extension_Sandbox

Code

public function isSandboxed() {
  return $this->sandboxedGlobally || $this->sandboxed;
}