MediaWiki REL1_39
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 172 of file EntryPoint.php.

Member Function Documentation

◆ execute()

MediaWiki\Rest\EntryPoint::execute ( )

Definition at line 182 of file EntryPoint.php.

References $line.

◆ getMainRequest()

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

Definition at line 80 of file EntryPoint.php.

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

◆ main()

static MediaWiki\Rest\EntryPoint::main ( )
static

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