29 public function load($class)
31 if (isset($this->map[$class])) {
32 $runtimeFactory = $this->map[$class];
34 return $runtimeFactory();
39 class_alias(
'Twig_FactoryRuntimeLoader',
'Twig\RuntimeLoader\FactoryRuntimeLoader',
false);
Lazy loads the runtime implementations for a Twig element.
__construct($map=array())
Creates runtime implementations for Twig elements (filters/functions/tests).
load($class)
Creates the runtime implementation of a Twig element (filter/function/test).
Create styles array
The data for the language used.