|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Interface for a cache backend. More...
Inheritance diagram for Assetic\Cache\CacheInterface:
Collaboration diagram for Assetic\Cache\CacheInterface: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\ApcCache, Assetic\Cache\ArrayCache, Assetic\Cache\ExpiringCache, 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\ApcCache, Assetic\Cache\ArrayCache, Assetic\Cache\ExpiringCache, and Assetic\Cache\FilesystemCache.
| Assetic\Cache\CacheInterface::remove | ( | $key | ) |
Removes a value from the cache.
| string | $key | A unique key |
Implemented in Assetic\Cache\ApcCache, Assetic\Cache\ArrayCache, Assetic\Cache\ExpiringCache, and Assetic\Cache\FilesystemCache.
| 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\ApcCache, Assetic\Cache\ArrayCache, Assetic\Cache\ExpiringCache, and Assetic\Cache\FilesystemCache.