Mercurial > hg > isophonics-drupal-site
comparison core/modules/rest/src/ResourceResponseTrait.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
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 } |