You are here

public function ResourceResponse::getResponseData in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/rest/src/ResourceResponse.php \Drupal\rest\ResourceResponse::getResponseData()

Returns response data that should be serialized.

Return value

mixed Response data that should be serialized.

File

core/modules/rest/src/ResourceResponse.php, line 54
Contains \Drupal\rest\ResourceResponse.

Class

ResourceResponse
Contains data for serialization before sending the response.

Namespace

Drupal\rest

Code

public function getResponseData() {
  return $this->responseData;
}