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

Fonctions membres publiques

 __construct (private iterable $loaders=[],)
 addLoader (LoaderInterface $loader)
 getLoaders ()
 getSourceContext (string $name)
 exists (string $name)
 getCacheKey (string $name)
 isFresh (string $name, int $time)

Description détaillée

Loads templates from other loaders.

Auteur
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( private iterable $loaders = [])
Paramètres
iterable<LoaderInterface>$loaders

Documentation des fonctions membres

◆ exists()

exists ( string $name)
Renvoie
bool

Implémente LoaderInterface.

◆ getCacheKey()

getCacheKey ( string $name)

Gets the cache key to use for the cache for a given template name.

Exceptions
LoaderErrorWhen $name is not found

Implémente LoaderInterface.

◆ getLoaders()

getLoaders ( )
Renvoie
LoaderInterface[]

◆ getSourceContext()

getSourceContext ( string $name)

Returns the source context for a given template logical name.

Exceptions
LoaderErrorWhen $name is not found

Implémente LoaderInterface.

◆ isFresh()

isFresh ( string $name,
int $time )
Paramètres
int$timeTimestamp of the last modification time of the cached template
Exceptions
LoaderErrorWhen $name is not found

Implémente LoaderInterface.


La documentation de cette classe a été générée à partir du fichier suivant :