ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
A simple filesystem cache. More...
Public Member Functions | |
__construct ($dir) | |
has ($key) | |
Checks if the cache has a value for a key. More... | |
get ($key) | |
Returns the value for a key. More... | |
set ($key, $value) | |
Sets a value in the cache. More... | |
remove ($key) | |
Removes a value from the cache. More... | |
Private Attributes | |
$dir | |
A simple filesystem cache.
Definition at line 19 of file FilesystemCache.php.
Assetic\Cache\FilesystemCache::__construct | ( | $dir | ) |
Assetic\Cache\FilesystemCache::get | ( | $key | ) |
Returns the value for a key.
string | $key | A unique key |
Implements Assetic\Cache\CacheInterface.
Definition at line 33 of file FilesystemCache.php.
References $path.
Assetic\Cache\FilesystemCache::has | ( | $key | ) |
Checks if the cache has a value for a key.
string | $key | A unique key |
Implements Assetic\Cache\CacheInterface.
Definition at line 28 of file FilesystemCache.php.
Assetic\Cache\FilesystemCache::remove | ( | $key | ) |
Removes a value from the cache.
string | $key | A unique key |
Implements Assetic\Cache\CacheInterface.
Definition at line 57 of file FilesystemCache.php.
References $path.
Assetic\Cache\FilesystemCache::set | ( | $key, | |
$value | |||
) |
Sets a value in the cache.
string | $key | A unique key |
string | $value | The value to cache |
Implements Assetic\Cache\CacheInterface.
Definition at line 44 of file FilesystemCache.php.
References $path.
|
private |
Definition at line 21 of file FilesystemCache.php.
Referenced by Assetic\Cache\FilesystemCache\__construct().