lithium\storage\cache\Adapter::increment()

abstract public method

Performs an increment operation on specified numeric cache item.

Parameters

  • string $key

    Key of numeric cache item to increment.

  • integer $offset

    Offset to increment - defaults to 1.

Returns

integer|boolean

The item's new value on successful increment, else false.

Source

	abstract public function increment($key, $offset = 1);