Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Deserializers\SiteLinkDeserializer Class Reference

Package private. More...

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

Public Member Functions

 __construct (Deserializer $entityIdDeserializer)
 
 deserialize ( $serialization)
 

Private Member Functions

 getDeserialized (array $serialization)
 
 getDeserializeBadges (array $serialization)
 
 deserializeItemId ( $serialization)
 
 assertBadgesIsArray ( $serialization)
 
 assertCanDeserialize ( $serialization)
 
 requireAttribute ( $serialization, $attribute)
 

Private Attributes

 $entityIdDeserializer
 

Detailed Description

Package private.

Author
Thomas Pellissier Tanon

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Deserializers\SiteLinkDeserializer::__construct ( Deserializer $entityIdDeserializer)

Member Function Documentation

◆ assertBadgesIsArray()

Wikibase\DataModel\Deserializers\SiteLinkDeserializer::assertBadgesIsArray ( $serialization)
private

◆ assertCanDeserialize()

Wikibase\DataModel\Deserializers\SiteLinkDeserializer::assertCanDeserialize ( $serialization)
private

◆ deserialize()

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

◆ deserializeItemId()

Wikibase\DataModel\Deserializers\SiteLinkDeserializer::deserializeItemId ( $serialization)
private

◆ getDeserializeBadges()

Wikibase\DataModel\Deserializers\SiteLinkDeserializer::getDeserializeBadges ( array $serialization)
private

◆ getDeserialized()

Wikibase\DataModel\Deserializers\SiteLinkDeserializer::getDeserialized ( array $serialization)
private
Parameters
array$serialization
Returns
SiteLink

◆ requireAttribute()

Wikibase\DataModel\Deserializers\SiteLinkDeserializer::requireAttribute ( $serialization,
$attribute )
private

Member Data Documentation

◆ $entityIdDeserializer

Wikibase\DataModel\Deserializers\SiteLinkDeserializer::$entityIdDeserializer
private

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