Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\InternalSerialization\Deserializers\EntityDeserializer Class Reference
+ Inheritance diagram for Wikibase\InternalSerialization\Deserializers\EntityDeserializer:
+ Collaboration diagram for Wikibase\InternalSerialization\Deserializers\EntityDeserializer:

Public Member Functions

 __construct (DispatchableDeserializer $legacyDeserializer, DispatchableDeserializer $currentDeserializer)
 
 deserialize ( $serialization)
 
 isDeserializerFor ( $serialization)
 

Private Attributes

 $legacyDeserializer
 
 $currentDeserializer
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

Wikibase\InternalSerialization\Deserializers\EntityDeserializer::__construct ( DispatchableDeserializer $legacyDeserializer,
DispatchableDeserializer $currentDeserializer )

Member Function Documentation

◆ deserialize()

Wikibase\InternalSerialization\Deserializers\EntityDeserializer::deserialize ( $serialization)
Parameters
array$serialization
Returns
EntityDocument
Exceptions
DeserializationException

◆ isDeserializerFor()

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

Member Data Documentation

◆ $currentDeserializer

Wikibase\InternalSerialization\Deserializers\EntityDeserializer::$currentDeserializer
private

◆ $legacyDeserializer

Wikibase\InternalSerialization\Deserializers\EntityDeserializer::$legacyDeserializer
private

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