Wikibase
MediaWiki Wikibase extension
|
Composite validator for applying multiple validators as one. More...
Public Member Functions | |
__construct (array $validators) | |
validateEntity (EntityDocument $entity) | |
Validate an entity by applying each of the validators supplied to the constructor. More... | |
Private Attributes | |
$validators | |
Composite validator for applying multiple validators as one.
Wikibase\Repo\Validators\CompositeEntityValidator::__construct | ( | array | $validators | ) |
EntityValidator[] | $validators |
Wikibase\Repo\Validators\CompositeEntityValidator::validateEntity | ( | EntityDocument | $entity | ) |
Validate an entity by applying each of the validators supplied to the constructor.
EntityDocument | $entity |
Implements Wikibase\Repo\Validators\EntityValidator.
|
private |