Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\Presentation\Presenters\GetItemStatementsJsonPresenter Class Reference

Public Member Functions

 __construct (StatementListSerializer $serializer)
 
 getJson (GetItemStatementsSuccessResponse $response)
 

Private Attributes

 $serializer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Presentation\Presenters\GetItemStatementsJsonPresenter::__construct ( StatementListSerializer  $serializer)
Parameters
StatementListSerializer$serializerShould have $useObjectsForMaps (e.g. for qualifiers) set to true.

Member Function Documentation

◆ getJson()

Wikibase\Repo\RestApi\Presentation\Presenters\GetItemStatementsJsonPresenter::getJson ( GetItemStatementsSuccessResponse  $response)

Member Data Documentation

◆ $serializer

Wikibase\Repo\RestApi\Presentation\Presenters\GetItemStatementsJsonPresenter::$serializer
private

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