Composite validator for applying multiple validators as one.
More...
|
| __construct (array $validators) |
|
| validateFingerprint (TermList $labels, TermList $descriptions, EntityId $entityId, array $languageCodes=null) |
| Validate a fingerprint by applying each of the validators supplied to the constructor.
|
|
Composite validator for applying multiple validators as one.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Validators\CompositeFingerprintValidator::__construct |
( |
array |
$validators | ) |
|
- Parameters
-
FingerprintValidator[] | $validators | |
◆ validateFingerprint()
Wikibase\Repo\Validators\CompositeFingerprintValidator::validateFingerprint |
( |
TermList |
$labels, |
|
|
TermList |
$descriptions, |
|
|
EntityId |
$entityId, |
|
|
array |
$languageCodes = null |
|
) |
| |
Validate a fingerprint by applying each of the validators supplied to the constructor.
- See also
- FingerprintValidator::validateFingerprint
- Parameters
-
TermList | $labels | |
TermList | $descriptions | |
EntityId | $entityId | |
string[] | null | $languageCodes | |
- Returns
- Result
Implements Wikibase\Repo\Validators\FingerprintValidator.
◆ $validators
Wikibase\Repo\Validators\CompositeFingerprintValidator::$validators |
|
private |
The documentation for this class was generated from the following file: