Wikibase
MediaWiki Wikibase extension
Wikibase\DataModel\Deserializers\ReferenceDeserializer Class Reference

Package private. More...

+ Inheritance diagram for Wikibase\DataModel\Deserializers\ReferenceDeserializer:
+ Collaboration diagram for Wikibase\DataModel\Deserializers\ReferenceDeserializer:

Public Member Functions

 __construct (Deserializer $snaksDeserializer)
 
 isDeserializerFor ( $serialization)
 
 deserialize ( $serialization)
 

Private Member Functions

 isValidSerialization ( $serialization)
 
 getDeserialized (array $serialization)
 
 deserializeSnaks (array $serialization)
 
 assertSnaksOrderIsArray (array $serialization)
 

Private Attributes

 $snaksDeserializer
 

Detailed Description

Package private.

Author
Thomas Pellissier Tanon

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Deserializers\ReferenceDeserializer::__construct ( Deserializer  $snaksDeserializer)

Member Function Documentation

◆ assertSnaksOrderIsArray()

Wikibase\DataModel\Deserializers\ReferenceDeserializer::assertSnaksOrderIsArray ( array  $serialization)
private

◆ deserialize()

Wikibase\DataModel\Deserializers\ReferenceDeserializer::deserialize (   $serialization)
See also
Deserializer::deserialize
Parameters
array$serialization
Exceptions
DeserializationException
Returns
Reference

◆ deserializeSnaks()

Wikibase\DataModel\Deserializers\ReferenceDeserializer::deserializeSnaks ( array  $serialization)
private
Parameters
array$serialization
Returns
SnakList

◆ getDeserialized()

Wikibase\DataModel\Deserializers\ReferenceDeserializer::getDeserialized ( array  $serialization)
private
Parameters
array$serialization
Returns
Reference

◆ isDeserializerFor()

Wikibase\DataModel\Deserializers\ReferenceDeserializer::isDeserializerFor (   $serialization)
See also
Deserializer::isDeserializerFor
Parameters
mixed$serialization
Returns
bool

◆ isValidSerialization()

Wikibase\DataModel\Deserializers\ReferenceDeserializer::isValidSerialization (   $serialization)
private

Member Data Documentation

◆ $snaksDeserializer

Wikibase\DataModel\Deserializers\ReferenceDeserializer::$snaksDeserializer
private

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