public function RestfulFormatterInterface::format in RESTful 7
Formats the un-structured data into the output format.
Parameters
array $data: The raw data to return.
Return value
string The body contents for the HTTP response.
See also
\RestfulFormatterInterface::prepare()
\RestfulFormatterInterface::render()
1 method overrides RestfulFormatterInterface::format()
- RestfulFormatterBase::format in plugins/
formatter/ RestfulFormatterBase.php - Formats the un-structured data into the output format.
File
- plugins/
formatter/ RestfulFormatterInterface.php, line 45 - Contains RestfulFormatterInterface.
Class
- RestfulFormatterInterface
- @file Contains RestfulFormatterInterface.
Code
public function format(array $data);