Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\RouteHandlers\ResponseFactory Class Reference

Public Member Functions

 __construct (ErrorJsonPresenter $errorPresenter)
 
 newErrorResponse (ErrorResponse $useCaseResponse)
 

Private Member Functions

 newFrameworkAlikePermissionDeniedResponse ()
 

Private Attributes

 $errorPresenter
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\RouteHandlers\ResponseFactory::__construct ( ErrorJsonPresenter  $errorPresenter)

Member Function Documentation

◆ newErrorResponse()

Wikibase\Repo\RestApi\RouteHandlers\ResponseFactory::newErrorResponse ( ErrorResponse  $useCaseResponse)

◆ newFrameworkAlikePermissionDeniedResponse()

Wikibase\Repo\RestApi\RouteHandlers\ResponseFactory::newFrameworkAlikePermissionDeniedResponse ( )
private

Member Data Documentation

◆ $errorPresenter

Wikibase\Repo\RestApi\RouteHandlers\ResponseFactory::$errorPresenter
private

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