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

Public Member Functions

 __construct ()
 
 newGuid (EntityId $entityId)
 Generates and returns a GUID for a statement in the given Entity.
 
 newStatementId (EntityId $entityId)
 

Private Attributes

 $baseGenerator
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Services\Statement\GuidGenerator::__construct ( )

Member Function Documentation

◆ newGuid()

Wikibase\DataModel\Services\Statement\GuidGenerator::newGuid ( EntityId $entityId)

Generates and returns a GUID for a statement in the given Entity.

Since
1.0
Parameters
EntityId$entityId
Returns
string

◆ newStatementId()

Wikibase\DataModel\Services\Statement\GuidGenerator::newStatementId ( EntityId $entityId)

Member Data Documentation

◆ $baseGenerator

Wikibase\DataModel\Services\Statement\GuidGenerator::$baseGenerator
private

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