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

Public Member Functions

 __construct (Deserializer $idDeserializer, Deserializer $fingerprintDeserializer)
 
 deserialize ( $serialization)
 
 isDeserializerFor ( $serialization)
 

Private Member Functions

 getPropertyId (array $serialization)
 
 getDataTypeId (array $serialization)
 

Private Attributes

 $idDeserializer
 
 $fingerprintDeserializer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\InternalSerialization\Deserializers\LegacyPropertyDeserializer::__construct ( Deserializer  $idDeserializer,
Deserializer  $fingerprintDeserializer 
)

Member Function Documentation

◆ deserialize()

Wikibase\InternalSerialization\Deserializers\LegacyPropertyDeserializer::deserialize (   $serialization)
Parameters
array$serialization
Returns
Property
Exceptions
DeserializationException

◆ getDataTypeId()

Wikibase\InternalSerialization\Deserializers\LegacyPropertyDeserializer::getDataTypeId ( array  $serialization)
private
Parameters
array$serialization
Returns
string
Exceptions
MissingAttributeException
InvalidAttributeException

◆ getPropertyId()

Wikibase\InternalSerialization\Deserializers\LegacyPropertyDeserializer::getPropertyId ( array  $serialization)
private
Parameters
array$serialization
Returns
PropertyId|null
Exceptions
InvalidAttributeException

◆ isDeserializerFor()

Wikibase\InternalSerialization\Deserializers\LegacyPropertyDeserializer::isDeserializerFor (   $serialization)
See also
DispatchableDeserializer::isDeserializerFor
Since
2.2
Parameters
mixed$serialization
Returns
bool

Member Data Documentation

◆ $fingerprintDeserializer

Wikibase\InternalSerialization\Deserializers\LegacyPropertyDeserializer::$fingerprintDeserializer
private

◆ $idDeserializer

Wikibase\InternalSerialization\Deserializers\LegacyPropertyDeserializer::$idDeserializer
private

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