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

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\StatementDeserializer::__construct ( DispatchableDeserializer  $legacyDeserializer,
DispatchableDeserializer  $currentDeserializer 
)

Member Function Documentation

◆ deserialize()

Wikibase\InternalSerialization\Deserializers\StatementDeserializer::deserialize (   $serialization)
Parameters
array$serialization
Returns
Statement
Exceptions
DeserializationException

◆ isDeserializerFor()

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

Member Data Documentation

◆ $currentDeserializer

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

◆ $legacyDeserializer

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

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