function OverwriteExistingPackagesValidator::__construct
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/Validator/OverwriteExistingPackagesValidator.php \Drupal\package_manager\Validator\OverwriteExistingPackagesValidator::__construct()
File
-
core/
modules/ package_manager/ src/ Validator/ OverwriteExistingPackagesValidator.php, line 36
Class
- OverwriteExistingPackagesValidator
- Validates that newly installed packages don't overwrite existing directories.
Namespace
Drupal\package_manager\ValidatorCode
public function __construct(private readonly PathLocator $pathLocator, private readonly ComposerInspector $composerInspector) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.