ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Lazily loads Twig runtime implementations from a PSR-11 container. More...
Public Member Functions | |
__construct (ContainerInterface $container) | |
load ($class) | |
Creates the runtime implementation of a Twig element (filter/function/test). More... | |
Private Attributes | |
$container | |
Lazily loads Twig runtime implementations from a PSR-11 container.
Note that the runtime services MUST use their class names as identifiers.
Definition at line 22 of file ContainerRuntimeLoader.php.
Twig_ContainerRuntimeLoader::__construct | ( | ContainerInterface | $container | ) |
Twig_ContainerRuntimeLoader::load | ( | $class | ) |
Creates the runtime implementation of a Twig element (filter/function/test).
string | $class | A runtime class |
Implements Twig_RuntimeLoaderInterface.
Definition at line 31 of file ContainerRuntimeLoader.php.
|
private |
Definition at line 24 of file ContainerRuntimeLoader.php.
Referenced by __construct().