Jobbuddy
Chargement...
Recherche...
Aucune correspondance
Référence de l'interface LoaderInterface
Graphe d'héritage de LoaderInterface:
ArrayLoader ChainLoader FilesystemLoader

Fonctions membres publiques

 getSourceContext (string $name)
 getCacheKey (string $name)
 isFresh (string $name, int $time)
 exists (string $name)

Description détaillée

Interface all loaders must implement.

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

Documentation des fonctions membres

◆ exists()

exists ( string $name)
Renvoie
bool

Implémenté dans ArrayLoader, ChainLoader, et FilesystemLoader.

◆ 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émenté dans ArrayLoader, ChainLoader, et FilesystemLoader.

◆ getSourceContext()

getSourceContext ( string $name)

Returns the source context for a given template logical name.

Exceptions
LoaderErrorWhen $name is not found

Implémenté dans ArrayLoader, ChainLoader, et FilesystemLoader.

◆ 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émenté dans ArrayLoader, ChainLoader, et FilesystemLoader.


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