Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Services\Statement\StatementGuidParser Class Reference

A parser capable of splitting a statement id into the entity id of the entity the statement belongs to, and the randomly generated global unique identifier (GUID). More...

Public Member Functions

 __construct (EntityIdParser $entityIdParser)
 
 parse ( $serialization)
 

Private Attributes

 $entityIdParser
 

Detailed Description

A parser capable of splitting a statement id into the entity id of the entity the statement belongs to, and the randomly generated global unique identifier (GUID).

See also
StatementGuid
Since
1.0
Author
Addshore

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Services\Statement\StatementGuidParser::__construct ( EntityIdParser $entityIdParser)

Member Function Documentation

◆ parse()

Wikibase\DataModel\Services\Statement\StatementGuidParser::parse ( $serialization)
Parameters
string$serialization
Returns
StatementGuid
Exceptions
StatementGuidParsingException

Member Data Documentation

◆ $entityIdParser

Wikibase\DataModel\Services\Statement\StatementGuidParser::$entityIdParser
private

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