You are here

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

Response

Namespace

Drupal\restful\Http

Code

public function getContent() {
  return $this->content;
}