public function MemoryBackend::invalidateMultiple

Implements Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().

Overrides CacheBackendInterface::invalidateMultiple

File

drupal/core/lib/Drupal/Core/Cache/MemoryBackend.php, line 161
Definition of Drupal\Core\Cache\ArrayBackend.

Class

MemoryBackend
Defines a memory cache implementation.

Namespace

Drupal\Core\Cache

Code

public function invalidateMultiple(array $cids) {
  foreach ($cids as $cid) {
    $this->cache[$cid]->expire = REQUEST_TIME - 1;
  }
}