You are here

public function SmsProcessingResponse::setResponse in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/SmsProcessingResponse.php \Drupal\sms\SmsProcessingResponse::setResponse()
  2. 2.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 69

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;
}