Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\Serialization\ItemSerializer Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Application\Serialization\ItemSerializer:

Public Member Functions

 __construct (LabelsSerializer $labelsSerializer, DescriptionsSerializer $descriptionsSerializer, AliasesSerializer $aliasesSerializer, StatementListSerializer $statementsSerializer, SitelinksSerializer $sitelinksSerializer)
 
 serialize (Item $item)
 

Private Attributes

LabelsSerializer $labelsSerializer
 
DescriptionsSerializer $descriptionsSerializer
 
AliasesSerializer $aliasesSerializer
 
StatementListSerializer $statementsSerializer
 
SitelinksSerializer $sitelinksSerializer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\Serialization\ItemSerializer::__construct ( LabelsSerializer $labelsSerializer,
DescriptionsSerializer $descriptionsSerializer,
AliasesSerializer $aliasesSerializer,
StatementListSerializer $statementsSerializer,
SitelinksSerializer $sitelinksSerializer )

Member Function Documentation

◆ serialize()

Wikibase\Repo\RestApi\Application\Serialization\ItemSerializer::serialize ( Item $item)

Member Data Documentation

◆ $aliasesSerializer

AliasesSerializer Wikibase\Repo\RestApi\Application\Serialization\ItemSerializer::$aliasesSerializer
private

◆ $descriptionsSerializer

DescriptionsSerializer Wikibase\Repo\RestApi\Application\Serialization\ItemSerializer::$descriptionsSerializer
private

◆ $labelsSerializer

LabelsSerializer Wikibase\Repo\RestApi\Application\Serialization\ItemSerializer::$labelsSerializer
private

◆ $sitelinksSerializer

SitelinksSerializer Wikibase\Repo\RestApi\Application\Serialization\ItemSerializer::$sitelinksSerializer
private

◆ $statementsSerializer

StatementListSerializer Wikibase\Repo\RestApi\Application\Serialization\ItemSerializer::$statementsSerializer
private

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