Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Parsers\EntityIdValueParser Class Reference

Parser that parses entity id strings into EntityIdValue objects. More...

+ Inheritance diagram for Wikibase\Repo\Parsers\EntityIdValueParser:
+ Collaboration diagram for Wikibase\Repo\Parsers\EntityIdValueParser:

Public Member Functions

 __construct (EntityIdParser $parser)
 

Protected Member Functions

 stringParse ( $value)
 

Private Attributes

const FORMAT_NAME = 'entity-id-value'
 
 $parser
 

Detailed Description

Parser that parses entity id strings into EntityIdValue objects.

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Parsers\EntityIdValueParser::__construct ( EntityIdParser $parser)

Member Function Documentation

◆ stringParse()

Wikibase\Repo\Parsers\EntityIdValueParser::stringParse ( $value)
protected
See also
StringValueParser::stringParse
Parameters
string$value
Exceptions
ParseException
Returns
EntityIdValue

Member Data Documentation

◆ $parser

Wikibase\Repo\Parsers\EntityIdValueParser::$parser
private

◆ FORMAT_NAME

const Wikibase\Repo\Parsers\EntityIdValueParser::FORMAT_NAME = 'entity-id-value'
private

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