You are here

public function Lock::getUpdated in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/TempStore/Lock.php \Drupal\Core\TempStore\Lock::getUpdated()

Gets the timestamp of the last update to the lock.

Return value

int The updated timestamp.

1 call to Lock::getUpdated()
Lock::__get in core/lib/Drupal/Core/TempStore/Lock.php
Provides backwards compatibility for using the lock as a \stdClass object.

File

core/lib/Drupal/Core/TempStore/Lock.php, line 53

Class

Lock
Provides a value object representing the lock from a TempStore.

Namespace

Drupal\Core\TempStore

Code

public function getUpdated() {
  return $this->updated;
}