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

Public Member Functions

 __construct (EntityIdParser $entityIdParser, string $prefix, ?string $entityType=null)
 
 validate ( $value)
 

Private Attributes

EntityIdParser $entityIdParser
 
string $prefix
 
string $entityType
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Validators\EntityUriValidator::__construct ( EntityIdParser $entityIdParser,
string $prefix,
?string $entityType = null )

Member Function Documentation

◆ validate()

Wikibase\Repo\Validators\EntityUriValidator::validate ( $value)

Member Data Documentation

◆ $entityIdParser

EntityIdParser Wikibase\Repo\Validators\EntityUriValidator::$entityIdParser
private

◆ $entityType

string Wikibase\Repo\Validators\EntityUriValidator::$entityType
private

◆ $prefix

string Wikibase\Repo\Validators\EntityUriValidator::$prefix
private

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