generateKey()
generateKey(string $name, string $className) : string
Generates a cache key for the given template class name.
Parameters
string | $name | The template name |
string | $className | The template class name |
Interface implemented by cache classes.
It is highly recommended to always store templates on the filesystem to benefit from the PHP opcode cache. This interface is mostly useful if you need to implement a custom strategy for storing templates on the filesystem.
Loading…