Classes, interfaces and traits

ExistsLoaderInterface

Adds an exists() method for loaders.

« More »

LoaderInterface

Interface all loaders must implement.

« More »

SourceContextLoaderInterface

Adds a getSourceContext() method for loaders.

« More »

ArrayLoader

Loads a template from an array.

When using this loader with a cache mechanism, you should know that a new cache key is generated each time a template content "changes" (the cache key being the source code of the template). If you don't want to see your cache grows out of control, you need to take care of clearing the old cache file by yourself.

This loader should only be used for unit testing.

« More »

ChainLoader

Loads templates from other loaders.

« More »