function LockFileValidator::__construct
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/Validator/LockFileValidator.php \Drupal\package_manager\Validator\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\ValidatorCode
public function __construct(KeyValueFactoryInterface $keyValueFactory, private readonly 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.