Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / rest / src / ResourceResponseTrait.php
1 <?php
2
3 namespace Drupal\rest;
4
5
6 trait ResourceResponseTrait {
7
8   /**
9    * Response data that should be serialized.
10    *
11    * @var mixed
12    */
13   protected $responseData;
14
15   /**
16    * Returns response data that should be serialized.
17    *
18    * @return mixed
19    *   Response data that should be serialized.
20    */
21   public function getResponseData() {
22     return $this->responseData;
23   }
24
25 }