38 public function initialize($controller=null, $context=null, $action=null);
Response holds the response values that are used as output from Controller instances.
Request holds the request values that are used as input to Controller instances.
getResponse()
Get the Response instance belonging to the request.
initialize($controller=null, $context=null, $action=null)
Initialize the request instance from the HTTP request.
getResponseFormat()
Get the message response format.
getMethod()
Get the HTTP method of the request.
Messages are sent between Controllers and are used to transfer data between them.
setResponse(Response $response)
Set the Response instance belonging to the request and vice versa.
setResponseFormat($format)
Set the desired response format.
Presentation related interfaces and classes.