public function PhpRedis::doDeleteMultiple in Redis 8
Execute the deletion.
This can be delayed to avoid race conditions.
Parameters
array $cids: An array of cache IDs to delete.
Overrides CacheBase::doDeleteMultiple
See also
File
- src/
Cache/ PhpRedis.php, line 105
Class
- PhpRedis
- PhpRedis cache backend.
Namespace
Drupal\redis\CacheCode
public function doDeleteMultiple(array $cids) {
$keys = array_map([
$this,
'getKey',
], $cids);
$this->client
->del($keys);
}