comparison core/modules/rest/src/ResourceResponseTrait.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
1 <?php
2
3 namespace Drupal\rest;
4
5 trait ResourceResponseTrait {
6
7 /**
8 * Response data that should be serialized.
9 *
10 * @var mixed
11 */
12 protected $responseData;
13
14 /**
15 * Returns response data that should be serialized.
16 *
17 * @return mixed
18 * Response data that should be serialized.
19 */
20 public function getResponseData() {
21 return $this->responseData;
22 }
23
24 }