public function Twig_Environment::initRuntime in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/Environment.php \Twig_Environment::initRuntime()
Initializes the runtime environment.
1 call to Twig_Environment::initRuntime()
- Twig_Environment::loadTemplate in vendor/
Twig/ Environment.php - Loads a template by name.
File
- vendor/
Twig/ Environment.php, line 615
Class
- Twig_Environment
- Stores the Twig configuration.
Code
public function initRuntime() {
$this->runtimeInitialized = true;
foreach ($this
->getExtensions() as $extension) {
$extension
->initRuntime($this);
}
}