31 parent::__construct( $params );
36 protected function doGet( $key, $flags = 0, &$casToken =
null ) {
42 protected function doSet( $key, $value, $exptime = 0, $flags = 0 ) {
46 protected function doDelete( $key, $flags = 0 ) {
50 protected function doAdd( $key, $value, $exptime = 0, $flags = 0 ) {
59 public function merge( $key, callable $callback, $exptime = 0, $attempts = 10, $flags = 0 ) {
A BagOStuff object with no objects in it.
doIncrWithInit( $key, $exptime, $step, $init, $flags)
doGet( $key, $flags=0, &$casToken=null)
Get an item.
doSet( $key, $value, $exptime=0, $flags=0)
Set an item.
doDelete( $key, $flags=0)
Delete an item.
__construct(array $params=[])
merge( $key, callable $callback, $exptime=0, $attempts=10, $flags=0)
Merge changes into the existing cache value (possibly creating a new one)
doAdd( $key, $value, $exptime=0, $flags=0)
Insert an item if it does not already exist.
Storage medium specific cache for storing items (e.g.