Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Validators\NumberValidator Class Reference
+ Inheritance diagram for Wikibase\Repo\Validators\NumberValidator:
+ Collaboration diagram for Wikibase\Repo\Validators\NumberValidator:

Public Member Functions

 validate ( $value)
 
 setOptions (array $options)
 

Detailed Description

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Member Function Documentation

◆ setOptions()

Wikibase\Repo\Validators\NumberValidator::setOptions ( array $options)
See also
ValueValidator::setOptions()
Parameters
array$options

◆ validate()

Wikibase\Repo\Validators\NumberValidator::validate ( $value)
See also
ValueValidator::validate()
Parameters
mixed$valueThe value to validate
Returns
Result

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