Jobbuddy
Chargement...
Recherche...
Aucune correspondance
Référence de la classe ContainerRuntimeLoader
Graphe d'héritage de ContainerRuntimeLoader:
RuntimeLoaderInterface

Fonctions membres publiques

 __construct (private ContainerInterface $container,)
 load (string $class)

Description détaillée

Lazily loads Twig runtime implementations from a PSR-11 container.

Note that the runtime services MUST use their class names as identifiers.

Auteur
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Robin Chalas robin.nosp@m..cha.nosp@m.las@g.nosp@m.mail.nosp@m..com

Documentation des fonctions membres

◆ load()

load ( string $class)

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 :