The File adapter does not provide any facilities for atomic incrementing of cache items. If you need this functionality, please use a cache adapter which provides native support for atomic increment.
This method is not implemented, and will simply return false.

Parameters

  • string $key Key of numeric cache item to increment
  • integer $offset Offset to increment - defaults to 1.

Returns

boolean False - this method is not implemented

Source

						public function increment($key, $offset = 1) {
		return false;
	}