RequestFactory
Table of Contents
- fromGlobals() : Request
- Returns new instance of Request class from server globals
- getBody() : Body
- Returns new instance of Body class
- getUri() : Uri
- Returns new instance of Uri class by URI
Methods
fromGlobals()
Returns new instance of Request class from server globals
public
static fromGlobals() : Request
Return values
Request —getBody()
Returns new instance of Body class
private
static getBody() : Body
Return values
Body —getUri()
Returns new instance of Uri class by URI
private
static getUri(string $uri) : Uri
Parameters
- $uri : string