function SymlinkValidator::__construct

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

File

core/modules/package_manager/src/Validator/SymlinkValidator.php, line 30

Class

SymlinkValidator
Flags errors if unsupported symbolic links are detected.

Namespace

Drupal\package_manager\Validator

Code

public function __construct(private readonly PathLocator $pathLocator, private readonly NoUnsupportedLinksExistInterface $precondition, private readonly PathFactoryInterface $pathFactory, private readonly PathListFactoryInterface $pathListFactory) {
}

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