ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Interface for a cache backend. More...
Public Member Functions | |
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... | |
Interface for a cache backend.
Definition at line 19 of file CacheInterface.php.
Assetic\Cache\CacheInterface::get | ( | $key | ) |
Returns the value for a key.
string | $key | A unique key |
Implemented in Assetic\Cache\ExpiringCache, Assetic\Cache\ApcCache, Assetic\Cache\ArrayCache, and Assetic\Cache\FilesystemCache.
Assetic\Cache\CacheInterface::has | ( | $key | ) |
Checks if the cache has a value for a key.
string | $key | A unique key |
Implemented in Assetic\Cache\ExpiringCache, Assetic\Cache\FilesystemCache, Assetic\Cache\ApcCache, and Assetic\Cache\ArrayCache.
Assetic\Cache\CacheInterface::remove | ( | $key | ) |
Removes a value from the cache.
string | $key | A unique key |
Implemented in Assetic\Cache\ApcCache, Assetic\Cache\FilesystemCache, Assetic\Cache\ExpiringCache, and Assetic\Cache\ArrayCache.
Assetic\Cache\CacheInterface::set | ( | $key, | |
$value | |||
) |
Sets a value in the cache.
string | $key | A unique key |
string | $value | The value to cache |
Implemented in Assetic\Cache\ExpiringCache, Assetic\Cache\ApcCache, Assetic\Cache\ArrayCache, and Assetic\Cache\FilesystemCache.