Formatter.php
Response holds the response values that are used as output from Controller instances.
Definition: Response.php:20
Request holds the request values that are used as input to Controller instances.
Definition: Request.php:18
Formatter is the single entry point for request/response formatting.
Definition: Formatter.php:23
getFormatFromMimeType($mimeType)
Get the format name for the given mime type.
serialize(Response $response)
Serialize Response according to the output format.
deserialize(Request $request)
Deserialize Request data into objects.
getFormat($name)
Get a Format instance from it's name.