public function Predis::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/ Predis.php, line 105  
Class
- Predis
 - Predis cache backend.
 
Namespace
Drupal\redis\CacheCode
public function doDeleteMultiple(array $cids) {
  if (!empty($cids)) {
    $keys = array_map([
      $this,
      'getKey',
    ], $cids);
    $this->client
      ->del($keys);
  }
}