You are here

public function SimpleRestCreds::__construct in Acquia Cloud Site Factory Connector 8

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

Creates a new instance of SimpleRestCreds.

Parameters

string $name: The username to be used to contact Site Factory.

string $password: The password to be used to contact Site Factory.

string $url: The url of the Site Factory.

File

acsf_init/lib/cloud_hooks/common/pre-web-activate/000-acquia-deployment.php, line 312
This script is responsible for deploying theme files on each webnode.

Class

SimpleRestCreds

Code

public function __construct($name, $password, $url) {
  $this->name = $name;
  $this->password = $password;
  $this->url = $url;
}