public function SimpleRestResponse::__construct in Acquia Cloud Site Factory Connector 8.2
Same name in this branch
- 8.2 acsf_init/lib/sites/g/SimpleRest.php \Acquia\SimpleRest\SimpleRestResponse::__construct()
- 8.2 acsf_init/lib/cloud_hooks/common/pre-web-activate/000-acquia-deployment.php \SimpleRestResponse::__construct()
Same name and namespace in other branches
- 8 acsf_init/lib/cloud_hooks/common/pre-web-activate/000-acquia-deployment.php \SimpleRestResponse::__construct()
Constructs a new instance of SimpleRestResponse.
Parameters
string $endpoint: The request endpoint.
string $response_code: The response code.
array $response_body: The response body.
File
- acsf_init/
lib/ cloud_hooks/ common/ pre-web-activate/ 000-acquia-deployment.php, line 485 - This script is responsible for deploying theme files on each webnode.
Class
- SimpleRestResponse
- Class SimpleRestResponse.
Code
public function __construct($endpoint, $response_code, array $response_body) {
$this->endpoint = $endpoint;
$this->code = $response_code;
$this->body = $response_body;
}