Assetic\Cache\ConfigCache
A config cache stores values using var_export() and include.
- Author: Kris Wallsmith <kris.wallsmith@gmail.com>
Synopsis
class ConfigCache
{
- // members
- private $dir;
- // methods
- public void __construct()
- public Boolean has()
- public void set()
- public mixed get()
- public integer getTimestamp()
- private string getSourcePath()
Members
private
- $dir
Methods
private
- getSourcePath() — Returns the path where the file corresponding to the supplied cache key can be included from.
public
- __construct() — Construct.
- get() — Loads and returns the value for the supplied cache key.
- getTimestamp() — Returns a timestamp for when the cache was created.
- has() — Checks of the cache has a file.
- set() — Writes a value to a file.