You are here

public function ResourceResponse::getResponseData in JSON:API 8

Same name and namespace in other branches
  1. 8.2 src/ResourceResponse.php \Drupal\jsonapi\ResourceResponse::getResponseData()

Returns response data that should be serialized.

Return value

mixed Response data that should be serialized.

File

src/ResourceResponse.php, line 53

Class

ResourceResponse
Contains data for serialization before sending the response.

Namespace

Drupal\jsonapi

Code

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