Home
last modified time | relevance | path

Searched refs:sandboxed (Results 1 – 4 of 4) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/Extension/
DSandboxExtension.php25 private $sandboxed; variable in Twig\\Extension\\SandboxExtension
29 …public function __construct(SecurityPolicyInterface $policy, $sandboxed = false, ?SourcePolicyInte… argument
36 $this->sandboxedGlobally = $sandboxed;
52 $this->sandboxed = true;
57 $this->sandboxed = false;
62 return $this->sandboxedGlobally || $this->sandboxed || $this->isSourceSandboxed($source);
DCoreExtension.php1491 * @param bool $sandboxed Whether to sandbox the template or not
1495 …template, $variables = [], $withContext = true, $ignoreMissing = false, $sandboxed = false): string argument
1503 if ($isSandboxed = $sandboxed && $env->hasExtension(SandboxExtension::class)) {
1682 …emplate::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $li… argument
1685 if ($sandboxed && $item instanceof \Stringable) {
1693 …if ($sandboxed && $object instanceof \ArrayAccess && !\in_array($object::class, self::ARRAY_LIKE_C…
1784 if ($sandboxed) {
1895 if ($sandboxed) {
/template/twigstarter/vendor/twig/twig/src/Resources/
Dcore.php407 …ntext, $template, $variables = [], $withContext = true, $ignoreMissing = false, $sandboxed = false) argument
411 …xtension::include($env, $context, $template, $variables, $withContext, $ignoreMissing, $sandboxed);
/template/twigstarter/vendor/twig/twig/
DCHANGELOG9 …ct that the `parent`, `block`, and `attribute` functions are always allowed in a sandboxed template
11 …* Fix PHP 8.1+ implicit float-to-int deprecation triggered by sandboxed `ArrayAccess` attribute ac…
19 …ension::ensureToStringAllowed()` when a self-referencing iterable is passed to a sandboxed template
26 * Document `template_from_string` caveats when used in a sandboxed environment
212 …* Fix a security issue when an included sandboxed template has been loaded before without the sand…
228 * Deprecate the fact that the `extends` and `use` tags are always allowed in a sandboxed template.
265 …* Fix a security issue when an included sandboxed template has been loaded before without the sand…
383 * Fix error messages in sandboxed mode for "has some" and "has every"