__construct()
__construct(array $opts)
Constructor.
Parameters
array | $opts | Array of options. Possible options are: cache_dir - The absolute directory of the cache location (passed to the driver) driver - The name of the driver class to use (cms_filecache_driver is the default) group - The name of a group (sort of namespace) to subset keys into lifetime - The lifetime of the cached values (in seconds) autoclean - Whether the cache driver should automatically clean up expired values locking - Whether the cache driver should employ locking (if possible) |