Mercurial > hg > isophonics-drupal-site
comparison core/modules/rest/src/ResourceResponseInterface.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 /** | |
6 * Defines a common interface for resource responses. | |
7 */ | |
8 interface ResourceResponseInterface { | |
9 | |
10 /** | |
11 * Returns response data that should be serialized. | |
12 * | |
13 * @return mixed | |
14 * Response data that should be serialized. | |
15 */ | |
16 public function getResponseData(); | |
17 | |
18 } |