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

Public Member Functions

 __construct (Deserializer $snakDeserializer, Deserializer $snakListDeserializer)
 
 deserialize ( $serialization)
 
 isDeserializerFor ( $serialization)
 

Private Member Functions

 assertHasKey (array $serialization, $key, $message)
 
 newStatement (array $serialization)
 
 getReferences (array $refs)
 

Private Attributes

 $snakDeserializer
 
 $snakListDeserializer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\InternalSerialization\Deserializers\LegacyStatementDeserializer::__construct ( Deserializer $snakDeserializer,
Deserializer $snakListDeserializer )

Member Function Documentation

◆ assertHasKey()

Wikibase\InternalSerialization\Deserializers\LegacyStatementDeserializer::assertHasKey ( array $serialization,
$key,
$message )
private

◆ deserialize()

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

◆ getReferences()

Wikibase\InternalSerialization\Deserializers\LegacyStatementDeserializer::getReferences ( array $refs)
private

◆ isDeserializerFor()

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

◆ newStatement()

Wikibase\InternalSerialization\Deserializers\LegacyStatementDeserializer::newStatement ( array $serialization)
private

Member Data Documentation

◆ $snakDeserializer

Wikibase\InternalSerialization\Deserializers\LegacyStatementDeserializer::$snakDeserializer
private

◆ $snakListDeserializer

Wikibase\InternalSerialization\Deserializers\LegacyStatementDeserializer::$snakListDeserializer
private

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