function PendingUpdatesValidator::__construct

Same name and namespace in other branches
  1. 11.x core/modules/package_manager/src/Validator/PendingUpdatesValidator.php \Drupal\package_manager\Validator\PendingUpdatesValidator::__construct()

File

core/modules/package_manager/src/Validator/PendingUpdatesValidator.php, line 28

Class

PendingUpdatesValidator
Validates that there are no pending database updates.

Namespace

Drupal\package_manager\Validator

Code

public function __construct(private readonly string $appRoot, private readonly UpdateRegistry $updateRegistry) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.