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...

+ Collaboration diagram for Wikibase\DataModel\Services\Statement\StatementGuidParser:

Public Member Functions

 __construct (EntityIdParser $entityIdParser)
 
 parse (string $serialization)
 

Private Attributes

EntityIdParser $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 ( string $serialization)
Exceptions
StatementGuidParsingException

Member Data Documentation

◆ $entityIdParser

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

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