on the filesystem.
This cache only caches on disk to allow PHP accelerators to cache the opcodes.
All other mecanism would imply the use of `eval()`.
| METHODS | |
|---|---|
__construct()
| constructor. |
load()
| loads a template. |
Constructor.
| ARGUMENTS | |
|---|---|
$loader |
A sfTemplateLoader instance |
$dir |
The directory where to store the cache files |
Loads a template.
| ARGUMENTS | |
|---|---|
$template |
The logical template name |
$renderer |
The renderer to use |
returns false if the template cannot be loaded, a sfTemplateStorage instance otherwise
