Wikibase
MediaWiki Wikibase extension
Wikibase\DataModel\Entity\EntityId Interface Reference
+ Inheritance diagram for Wikibase\DataModel\Entity\EntityId:
+ Collaboration diagram for Wikibase\DataModel\Entity\EntityId:

Public Member Functions

 getEntityType ()
 
 getSerialization ()
 
 __toString ()
 TODO: Consider removing this method in favor of just always calling getSerialization(). More...
 
 equals ( $target)
 
 getLocalPart ()
 TODO: This method shouldn't exist on this interface as it doesn't make sense for certain types of IDs. More...
 
 getRepositoryName ()
 TODO: This method shouldn't exist on this interface as it doesn't make sense for certain types of IDs. More...
 

Detailed Description

Member Function Documentation

◆ __toString()

Wikibase\DataModel\Entity\EntityId::__toString ( )

TODO: Consider removing this method in favor of just always calling getSerialization().

Returns
string

Implemented in Wikibase\Lib\FederatedProperties\FederatedPropertyId, and Wikibase\DataModel\Entity\SerializableEntityId.

◆ equals()

Wikibase\DataModel\Entity\EntityId::equals (   $target)

◆ getEntityType()

◆ getLocalPart()

Wikibase\DataModel\Entity\EntityId::getLocalPart ( )

TODO: This method shouldn't exist on this interface as it doesn't make sense for certain types of IDs.

It should be moved to a separate interface, or removed altogether.

Returns
string

Implemented in Wikibase\Lib\FederatedProperties\FederatedPropertyId, and Wikibase\DataModel\Entity\SerializableEntityId.

◆ getRepositoryName()

Wikibase\DataModel\Entity\EntityId::getRepositoryName ( )

TODO: This method shouldn't exist on this interface as it doesn't make sense for certain types of IDs.

It should be moved to a separate interface, or removed altogether.

Returns
string

Implemented in Wikibase\Lib\FederatedProperties\FederatedPropertyId, and Wikibase\DataModel\Entity\SerializableEntityId.

◆ getSerialization()

Wikibase\DataModel\Entity\EntityId::getSerialization ( )

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