Wikibase
MediaWiki Wikibase extension
Wikibase\InternalSerialization\Deserializers\LegacyEntityIdDeserializer Class Reference
+ Inheritance diagram for Wikibase\InternalSerialization\Deserializers\LegacyEntityIdDeserializer:
+ Collaboration diagram for Wikibase\InternalSerialization\Deserializers\LegacyEntityIdDeserializer:

Public Member Functions

 __construct (EntityIdParser $idParser)
 
 deserialize ( $serialization)
 

Private Member Functions

 isLegacyFormat ( $serialization)
 
 getParsedId ( $serialization)
 
 getIdFromLegacyFormat (array $serialization)
 

Private Attributes

 $idParser
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

Wikibase\InternalSerialization\Deserializers\LegacyEntityIdDeserializer::__construct ( EntityIdParser  $idParser)

Member Function Documentation

◆ deserialize()

Wikibase\InternalSerialization\Deserializers\LegacyEntityIdDeserializer::deserialize (   $serialization)
Parameters
string | array$serialization
Returns
EntityId
Exceptions
DeserializationException

◆ getIdFromLegacyFormat()

Wikibase\InternalSerialization\Deserializers\LegacyEntityIdDeserializer::getIdFromLegacyFormat ( array  $serialization)
private

◆ getParsedId()

Wikibase\InternalSerialization\Deserializers\LegacyEntityIdDeserializer::getParsedId (   $serialization)
private

◆ isLegacyFormat()

Wikibase\InternalSerialization\Deserializers\LegacyEntityIdDeserializer::isLegacyFormat (   $serialization)
private

Member Data Documentation

◆ $idParser

Wikibase\InternalSerialization\Deserializers\LegacyEntityIdDeserializer::$idParser
private

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