public function Response::getContent in RESTful 7.2
Gets the current response content.
Return value
string Content
Overrides ResponseInterface::getContent
1 call to Response::getContent()
- Response::__toString in src/
Http/ Response.php - Returns the Response as an HTTP string.
File
- src/
Http/ Response.php, line 267 - Contains \Drupal\restful\Http\Response.
Class
Namespace
Drupal\restful\HttpCode
public function getContent() {
return $this->content;
}