Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\Domain\Serializers\StatementSerializer Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Domain\Serializers\StatementSerializer:
+ Collaboration diagram for Wikibase\Repo\RestApi\Domain\Serializers\StatementSerializer:

Public Member Functions

 __construct (LegacyStatementSerializer $statementSerializer)
 
 serialize ( $statement)
 

Private Attributes

 $statementSerializer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Domain\Serializers\StatementSerializer::__construct ( LegacyStatementSerializer  $statementSerializer)
Parameters
LegacyStatementSerializer$statementSerializerShould have $useObjectsForMaps (e.g. for qualifiers) set to true.

Member Function Documentation

◆ serialize()

Wikibase\Repo\RestApi\Domain\Serializers\StatementSerializer::serialize (   $statement)
Parameters
Statement$statement

Member Data Documentation

◆ $statementSerializer

Wikibase\Repo\RestApi\Domain\Serializers\StatementSerializer::$statementSerializer
private

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