UploadedFileValidator::$validator

Same name in other branches
  1. 11.x core/modules/file/src/Validation/UploadedFileValidator.php \Drupal\file\Validation\UploadedFileValidator::validator

The symfony validator.

Type: \Symfony\Component\Validator\Validator\ValidatorInterface

File

core/modules/file/src/Validation/UploadedFileValidator.php, line 23

Class

UploadedFileValidator
Validator for uploaded files.

Namespace

Drupal\file\Validation

Code

protected ValidatorInterface $validator;

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