class Request

Properties

protected $uri
protected $method
protected $parameters
protected $files
protected $cookies
protected $server
protected $content

Methods

__construct(string $uri, string $method, array $parameters = array(), array $files = array(), array $cookies = array(), array $server = array(), string $content = null)

No description

string
getUri()

Gets the request URI.

string
getMethod()

Gets the request HTTP method.

array
getParameters()

Gets the request parameters.

array
getFiles()

Gets the request server files.

array
getCookies()

Gets the request cookies.

array
getServer()

Gets the request server parameters.

string
getContent()

Gets the request raw body data.

Details

at line 36
__construct(string $uri, string $method, array $parameters = array(), array $files = array(), array $cookies = array(), array $server = array(), string $content = null)

Parameters

string $uri The request URI
string $method The HTTP method request
array $parameters The request parameters
array $files An array of uploaded files
array $cookies An array of cookies
array $server An array of server parameters
string $content The raw body data

at line 52
string getUri()

Gets the request URI.

Return Value

string The request URI

at line 62
string getMethod()

Gets the request HTTP method.

Return Value

string The request HTTP method

at line 72
array getParameters()

Gets the request parameters.

Return Value

array The request parameters

at line 82
array getFiles()

Gets the request server files.

Return Value

array The request files

at line 92
array getCookies()

Gets the request cookies.

Return Value

array The request cookies

at line 102
array getServer()

Gets the request server parameters.

Return Value

array The request server parameters

at line 112
string getContent()

Gets the request raw body data.

Return Value

string The request raw body data