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

Public Member Functions

 __construct (PropertyValuePairSerializer $propertyValuePairSerializer, ReferenceSerializer $referenceSerializer)
 
 serialize (Statement $statement)
 

Public Attributes

const RANK_LABELS
 

Private Attributes

PropertyValuePairSerializer $propertyValuePairSerializer
 
ReferenceSerializer $referenceSerializer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\Serialization\StatementSerializer::__construct ( PropertyValuePairSerializer $propertyValuePairSerializer,
ReferenceSerializer $referenceSerializer )

Member Function Documentation

◆ serialize()

Wikibase\Repo\RestApi\Application\Serialization\StatementSerializer::serialize ( Statement $statement)

Member Data Documentation

◆ $propertyValuePairSerializer

PropertyValuePairSerializer Wikibase\Repo\RestApi\Application\Serialization\StatementSerializer::$propertyValuePairSerializer
private

◆ $referenceSerializer

ReferenceSerializer Wikibase\Repo\RestApi\Application\Serialization\StatementSerializer::$referenceSerializer
private

◆ RANK_LABELS

const Wikibase\Repo\RestApi\Application\Serialization\StatementSerializer::RANK_LABELS
Initial value:
= [
]
const RANK_PREFERRED
Rank enum.
Definition Statement.php:29
const RANK_NORMAL
Definition Statement.php:30
const RANK_DEPRECATED
Definition Statement.php:31

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