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

Public Member Functions

 __construct (Deserializer $dataValueDeserializer)
 
 deserialize ( $serialization)
 

Private Member Functions

 assertStructureIsValid ( $serialization)
 
 assertIsValueSnak (array $serialization)
 
 assertIsNonValueSnak (array $serialization)
 
 assertIsPropertyId ( $idSerialization)
 

Private Attributes

 $dataValueDeserializer
 

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\LegacySnakDeserializer::__construct ( Deserializer  $dataValueDeserializer)

Member Function Documentation

◆ assertIsNonValueSnak()

Wikibase\InternalSerialization\Deserializers\LegacySnakDeserializer::assertIsNonValueSnak ( array  $serialization)
private

◆ assertIsPropertyId()

Wikibase\InternalSerialization\Deserializers\LegacySnakDeserializer::assertIsPropertyId (   $idSerialization)
private

◆ assertIsValueSnak()

Wikibase\InternalSerialization\Deserializers\LegacySnakDeserializer::assertIsValueSnak ( array  $serialization)
private

◆ assertStructureIsValid()

Wikibase\InternalSerialization\Deserializers\LegacySnakDeserializer::assertStructureIsValid (   $serialization)
private

◆ deserialize()

Wikibase\InternalSerialization\Deserializers\LegacySnakDeserializer::deserialize (   $serialization)
Parameters
array$serialization
Returns
Snak
Exceptions
DeserializationException
LogicException

Member Data Documentation

◆ $dataValueDeserializer

Wikibase\InternalSerialization\Deserializers\LegacySnakDeserializer::$dataValueDeserializer
private

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