You are here

public function SmsProcessingResponse::setResponse in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/SmsProcessingResponse.php \Drupal\sms\SmsProcessingResponse::setResponse()
  2. 2.1.x src/SmsProcessingResponse.php \Drupal\sms\SmsProcessingResponse::setResponse()

Set the response to pass to the request controller.

Parameters

mixed $response: Set the response to pass to the request controller.

Return value

$this Return this object for chaining.

File

src/SmsProcessingResponse.php, line 67

Class

SmsProcessingResponse
Defines a container for SMS objects for processing and a request response.

Namespace

Drupal\sms

Code

public function setResponse($response) {
  $this->response = $response;
  return $this;
}