Searched refs:globals (Results 1 – 3 of 3) sorted by relevance
61 private $globals; variable in Twig\\ExtensionSet355 if (null !== $this->globals) {356 return $this->globals;359 $globals = [];365 $globals = array_merge($globals, $extension->getGlobals());369 $this->globals = $globals;372 return $globals;377 $this->globals = null;
62 private $globals = []; variable in Twig\\Environment897 $this->globals[$name] = $value;908 … $this->resolvedGlobals = array_merge($this->extensionSet->getGlobals(), $this->globals);914 return array_merge($this->extensionSet->getGlobals(), $this->globals);
213 * Add the possibility to reset globals via `Environment::resetGlobals()`