function Environment::updateOptionsHash
6 calls to Environment::updateOptionsHash()
- Environment::addExtension in vendor/
twig/ twig/ src/ Environment.php - Environment::disableDebug in vendor/
twig/ twig/ src/ Environment.php - Disables debugging mode.
- Environment::disableStrictVariables in vendor/
twig/ twig/ src/ Environment.php - Disables the strict_variables option.
- Environment::enableDebug in vendor/
twig/ twig/ src/ Environment.php - Enables debugging mode.
- Environment::enableStrictVariables in vendor/
twig/ twig/ src/ Environment.php - Enables the strict_variables option.
File
-
vendor/
twig/ twig/ src/ Environment.php, line 883
Class
- Environment
- Stores the Twig configuration and renders templates.
Namespace
TwigCode
private function updateOptionsHash() : void {
$this->optionsHash = implode(':', [
$this->extensionSet
->getSignature(),
\PHP_MAJOR_VERSION,
\PHP_MINOR_VERSION,
self::VERSION,
(int) $this->debug,
(int) $this->strictVariables,
$this->useYield ? '1' : '0',
]);
}