constructor Cache_Lite_File::Cache_Lite_File

constructor Cache_Lite_File::Cache_Lite_File() – Constructor


require_once 'Cache/Lite/File.php';

void constructor Cache_Lite_File::Cache_Lite_File ( array $options )


The constructor of the Cache_Lite_File class. You can give an associative array as an argument to set a lot of options.


array $options

associative array to set a lot of options (see Cache_Lite constructor for details). Be careful, with Cache_Lite_File, there is an additional "mandatory option" described on the following table.

Option Data Type Default Value Description
[...] [...] [...] See Cache_Lite constructor for more options
masterFile [REQUIRED] string '' complete path of the file used for controlling the cache lifetime


This function can not be called statically.

Drop a cache file (Previous) Test if a cache is available and (if yes) return it (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.