You are here

public function ReadinessValidationManager::runIfNoStoredResults in Automatic Updates 8.2

Dispatches the readiness check event if there no stored valid results.

Return value

$this

See also

self::getResults()

self::getStoredValidResults()

File

src/Validation/ReadinessValidationManager.php, line 136

Class

ReadinessValidationManager
Defines a manager to run readiness validation.

Namespace

Drupal\automatic_updates\Validation

Code

public function runIfNoStoredResults() : self {
  if ($this
    ->getResults() === NULL) {
    $this
      ->run();
  }
  return $this;
}