You are here

public function ReadinessValidationManager::getLastRunTime in Automatic Updates 8.2

Gets the timestamp of the last run.

Return value

int|null The timestamp of the last completed run, or NULL if no run has been completed.

File

src/Validation/ReadinessValidationManager.php, line 196

Class

ReadinessValidationManager
Defines a manager to run readiness validation.

Namespace

Drupal\automatic_updates\Validation

Code

public function getLastRunTime() : ?int {
  return $this->keyValueExpirable
    ->get('readiness_check_timestamp');
}