You are here

public function Domain::setResponse in Domain Access 8

Sets the value of the response test.

Parameters

int $response: The HTTP response code to set.

Overrides DomainInterface::setResponse

File

domain/src/Entity/Domain.php, line 462

Class

Domain
Defines the domain entity.

Namespace

Drupal\domain\Entity

Code

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