ResourceResponseInterface.php
Same filename in other branches
Namespace
Drupal\restFile
-
core/
modules/ rest/ src/ ResourceResponseInterface.php
View source
<?php
namespace Drupal\rest;
/**
* Defines a common interface for resource responses.
*/
interface ResourceResponseInterface {
/**
* Returns response data that should be serialized.
*
* @return mixed
* Response data that should be serialized.
*/
public function getResponseData();
}
Interfaces
Title | Deprecated | Summary |
---|---|---|
ResourceResponseInterface | Defines a common interface for resource responses. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.