TwigCacheRuntimeLoader implements RuntimeLoaderInterface
TwigCacheRuntimeLoader class. This class implements the RuntimeLoaderInterface to provide a CacheRuntime instance for Twig, using a FilesystemAdapter for caching.
Table of Contents
Interfaces
- RuntimeLoaderInterface
Properties
- $cacheDir : string
Methods
- __construct() : mixed
- load() : mixed
Properties
$cacheDir
protected
string
$cacheDir
Methods
__construct()
public
__construct(string $cacheDir) : mixed
Parameters
- $cacheDir : string
load()
public
load(string $class) : mixed
Parameters
- $class : string