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

Public Member Functions

 __construct (StatementSerializer $serializer)
 
 getJson (Statement $statement)
 

Private Attributes

 $serializer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Presentation\Presenters\StatementJsonPresenter::__construct ( StatementSerializer  $serializer)

Member Function Documentation

◆ getJson()

Wikibase\Repo\RestApi\Presentation\Presenters\StatementJsonPresenter::getJson ( Statement  $statement)

Member Data Documentation

◆ $serializer

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

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