MediaWiki  master
MediaWiki\Rest\EntryPoint Class Reference

Public Member Functions

 __construct (RequestContext $context, RequestInterface $request, WebResponse $webResponse, Router $router, CorsUtils $cors)
 execute ()

Static Public Member Functions

static getMainRequest ()
static main ()

Detailed Description

Definition at line 22 of file EntryPoint.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Rest\EntryPoint::__construct ( RequestContext  $context,
RequestInterface  $request,
WebResponse  $webResponse,
Router  $router,
CorsUtils  $cors 

Definition at line 181 of file EntryPoint.php.

Member Function Documentation

◆ execute()

MediaWiki\Rest\EntryPoint::execute ( )

◆ getMainRequest()

static MediaWiki\Rest\EntryPoint::getMainRequest ( )
RequestInterface The RequestInterface object used by this entry point.

Definition at line 89 of file EntryPoint.php.

References MediaWiki\MainConfigNames\CookiePrefix, and MediaWiki\MediaWikiServices\getInstance().

◆ main()

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