Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\DataTypeValidatorFactory Interface Reference

A factory providing ValueValidators based on DataType id. More...

+ Inheritance diagram for Wikibase\Repo\DataTypeValidatorFactory:

Public Member Functions

 getValidators ( $dataTypeId)
 Returns the validators associated with the given $dataTypeId.
 

Detailed Description

A factory providing ValueValidators based on DataType id.

Author
Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de

Member Function Documentation

◆ getValidators()

Wikibase\Repo\DataTypeValidatorFactory::getValidators ( $dataTypeId)

Returns the validators associated with the given $dataTypeId.

For unknown $dataTypeIds, an empty array is returned.

Parameters
string$dataTypeId
Returns
ValueValidator[]

Implemented in Wikibase\Repo\BuilderBasedDataTypeValidatorFactory.


The documentation for this interface was generated from the following file: