You are here

AcsfMessageResponseRest.php in Acquia Cloud Site Factory Connector 8

Same filename and directory in other branches
  1. 8.2 src/AcsfMessageResponseRest.php

Namespace

Drupal\acsf

File

src/AcsfMessageResponseRest.php
View source
<?php

namespace Drupal\acsf;


/**
 * Defines a response from AcsfMessageRest.
 */
class AcsfMessageResponseRest extends AcsfMessageResponse {

  /**
   * Implements AcsfMessageResponse::failed().
   */
  public function failed() {
    if ($this->code >= 400) {
      return TRUE;
    }
    return FALSE;
  }

}

Classes

Namesort descending Description
AcsfMessageResponseRest Defines a response from AcsfMessageRest.