public function MemoryCounterBackend::delete

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

Overrides MemoryBackend::delete

File

drupal/core/lib/Drupal/Core/Cache/MemoryCounterBackend.php, line 47
Contains \Drupal\Core\Cache\MemoryCounterBackend.

Class

MemoryCounterBackend
Defines a memory cache implementation that counts set and get calls.

Namespace

Drupal\Core\Cache

Code

public function delete($cid) {
  $this
    ->increaseCounter(__FUNCTION__, $cid);
  parent::delete($cid);
}