You are here

public function MemcacheTimestampInvalidator::getLastInvalidationTimestamp in Memcache API and Integration 8.2

Get the last invalidation timestamp of a tag.

Parameters

string $tag: Tag to check.

Return value

float The last invalidation timestamp of the tag.

Overrides TimestampInvalidatorInterface::getLastInvalidationTimestamp

File

src/Invalidator/MemcacheTimestampInvalidator.php, line 44

Class

MemcacheTimestampInvalidator
Class MemcacheTimestampInvalidator.

Namespace

Drupal\memcache\Invalidator

Code

public function getLastInvalidationTimestamp($tag) {
  return $this->memcache
    ->get($tag);
}