Zend\Cache\Storage\Adapter\Filesystem::checkAndSetItem
Set an item only if token matches
It uses the token received from getItem() to check if the item has changed before overwriting it.
Signature
public function checkAndSetItem(mixed
$token,
string
$key,
mixed
$value )
Parameters
$token
— mixed$key
— string$value
— mixed
Returns
- bool