Lazy loads the runtime implementations for a Twig element.
- Auteur
- Robin Chalas robin.nosp@m..cha.nosp@m.las@g.nosp@m.mail.nosp@m..com
◆ __construct()
| __construct |
( |
private array | $map = [] | ) |
|
- Paramètres
-
| array | $map | An array where keys are class names and values factory callables |
◆ load()
Creates the runtime implementation of a Twig element (filter/function/test).
- Renvoie
- object|null The runtime instance or null if the loader does not know how to create the runtime for this class
Implémente RuntimeLoaderInterface.
La documentation de cette classe a été générée à partir du fichier suivant :
- vendor/twig/twig/src/RuntimeLoader/FactoryRuntimeLoader.php