Method |
Description |
|
__construct ( MatthiasMullie\Scrapbook\KeyValueStore $cache ) |
|
|
__destruct ( ) |
Roll back uncommitted transactions. |
|
add ( $key, $value, $expire ) |
|
|
begin ( ) |
Initiate a transaction: this will defer all writes to real cache until
commit() is called. |
|
cas ( $token, $key, $value, $expire ) |
|
|
commit ( ) : boolean |
Commits all deferred updates to real cache. |
|
decrement ( $key, $offset = 1, $initial, $expire ) |
|
|
delete ( $key ) |
|
|
deleteMulti ( array $keys ) |
|
|
flush ( ) |
|
|
get ( $key, &$token = null ) |
|
|
getMulti ( array $keys, array &$tokens = null ) |
|
|
increment ( $key, $offset = 1, $initial, $expire ) |
|
|
replace ( $key, $value, $expire ) |
|
|
rollback ( ) : boolean |
Roll back all scheduled changes. |
|
set ( $key, $value, $expire ) |
|
|
setMulti ( array $items, $expire ) |
|
|
touch ( $key, $expire ) |
|
|