Wikibase
MediaWiki Wikibase extension
Wikibase\DataModel\Serializers\SiteLinkSerializer Class Reference

Package private. More...

+ Inheritance diagram for Wikibase\DataModel\Serializers\SiteLinkSerializer:
+ Collaboration diagram for Wikibase\DataModel\Serializers\SiteLinkSerializer:

Public Member Functions

 isSerializerFor ( $object)
 
 serialize ( $object)
 

Private Member Functions

 getSerialized (SiteLink $siteLink)
 
 serializeBadges (array $badges)
 

Detailed Description

Package private.

Author
Thomas Pellissier Tanon

Member Function Documentation

◆ getSerialized()

Wikibase\DataModel\Serializers\SiteLinkSerializer::getSerialized ( SiteLink  $siteLink)
private

◆ isSerializerFor()

Wikibase\DataModel\Serializers\SiteLinkSerializer::isSerializerFor (   $object)
See also
Serializer::isSerializerFor
Parameters
mixed$object
Returns
bool

◆ serialize()

Wikibase\DataModel\Serializers\SiteLinkSerializer::serialize (   $object)
See also
Serializer::serialize
Parameters
SiteLink$object
Exceptions
SerializationException
Returns
array

◆ serializeBadges()

Wikibase\DataModel\Serializers\SiteLinkSerializer::serializeBadges ( array  $badges)
private
Parameters
ItemId[]$badges
Returns
string[]

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