function LockFileValidator::__construct

File

core/modules/package_manager/src/Validator/LockFileValidator.php, line 45

Class

LockFileValidator
Checks that the active lock file is unchanged during stage operations.

Namespace

Drupal\package_manager\Validator

Code

public function __construct(KeyValueFactoryInterface $keyValueFactory, PathLocator $pathLocator) {
    $this->keyValue = $keyValueFactory->get('package_manager');
}

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