function PhpTufValidator::__construct
Same name and namespace in other branches
- 11.x core/modules/package_manager/src/Validator/PhpTufValidator.php \Drupal\package_manager\Validator\PhpTufValidator::__construct()
File
-
core/
modules/ package_manager/ src/ Validator/ PhpTufValidator.php, line 52
Class
- PhpTufValidator
- Validates that PHP-TUF is installed and correctly configured.
Namespace
Drupal\package_manager\ValidatorCode
public function __construct(private readonly PathLocator $pathLocator, private readonly ComposerInspector $composerInspector, private readonly ModuleHandlerInterface $moduleHandler, private readonly Settings $settings, private readonly array $repositories) {
assert(Inspector::assertAllStrings($repositories));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.