class AcsfMessageResponseRest in Acquia Cloud Site Factory Connector 8.2
Same name and namespace in other branches
- 8 src/AcsfMessageResponseRest.php \Drupal\acsf\AcsfMessageResponseRest
Defines a response from AcsfMessageRest.
Hierarchy
- class \Drupal\acsf\AcsfMessageResponse
- class \Drupal\acsf\AcsfMessageResponseRest
Expanded class hierarchy of AcsfMessageResponseRest
File
- src/
AcsfMessageResponseRest.php, line 8
Namespace
Drupal\acsfView source
class AcsfMessageResponseRest extends AcsfMessageResponse {
/**
* Implements AcsfMessageResponse::failed().
*/
public function failed() {
if ($this->code >= 400) {
return TRUE;
}
return FALSE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AcsfMessageResponse:: |
public | property | The body of the response. | |
AcsfMessageResponse:: |
public | property | The response code from the remote call. | |
AcsfMessageResponse:: |
public | property | The endpoint on the remote service. | |
AcsfMessageResponse:: |
public | function | Constructor. | |
AcsfMessageResponseRest:: |
public | function |
Implements AcsfMessageResponse::failed(). Overrides AcsfMessageResponse:: |