interface RestfulStaticCacheControllerInterface in RESTful 7
@file Contains RestfulStaticCacheControllerInterface
Hierarchy
- interface \RestfulStaticCacheControllerInterface
Expanded class hierarchy of RestfulStaticCacheControllerInterface
All classes that implement RestfulStaticCacheControllerInterface
File
- includes/
RestfulStaticCacheControllerInterface.php, line 8 - Contains RestfulStaticCacheControllerInterface
View source
interface RestfulStaticCacheControllerInterface {
/**
* Gets the static cache.
*
* @param string $cid
* The cache key to use.
* @param mixed $default
* The default value in case there is no static cache.
*
* @return mixed
* The cached value.
*/
public function get($cid, $default = NULL);
/**
* Sets the static cache.
*
* @param string $cid
* The cache key to use.
* @param mixed $value
* The value to set.
*
* @return mixed
* The cached value.
*/
public function set($cid, $value);
/**
* Clear a particular cache value.
*
* @param string $cid
* The cache ID to clear.
*/
public function clear($cid);
/**
* Clear all registered cache values.
*/
public function clearAll();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RestfulStaticCacheControllerInterface:: |
public | function | Clear a particular cache value. | 1 |
RestfulStaticCacheControllerInterface:: |
public | function | Clear all registered cache values. | 1 |
RestfulStaticCacheControllerInterface:: |
public | function | Gets the static cache. | 1 |
RestfulStaticCacheControllerInterface:: |
public | function | Sets the static cache. | 1 |