You are here

public function SimpleRestMessage::__construct in Acquia Cloud Site Factory Connector 8.2

Same name in this branch
  1. 8.2 acsf_init/lib/sites/g/SimpleRest.php \Acquia\SimpleRest\SimpleRestMessage::__construct()
  2. 8.2 acsf_init/lib/cloud_hooks/common/pre-web-activate/000-acquia-deployment.php \SimpleRestMessage::__construct()
Same name and namespace in other branches
  1. 8 acsf_init/lib/sites/g/SimpleRest.php \Acquia\SimpleRest\SimpleRestMessage::__construct()

Creates a new instance of SimpleRestMessage.

Parameters

string $site: The hosting sitegroup name.

string $env: The hosting environment name.

File

acsf_init/lib/sites/g/SimpleRest.php, line 103
Contains classes needed for sending requests to the Site Factory.

Class

SimpleRestMessage
Class SimpleRestMessage.

Namespace

Acquia\SimpleRest

Code

public function __construct($site, $env) {
  $this->site = $site;
  $this->env = $env;
}