Acquia\CloudApi\Client\CloudApi::installEnvironment PHP Method

installEnvironment() public method

Seriously, don't call this. It will throw an exception.
public installEnvironment ( $site, $env, $type, $source )
$site the site name (ex: tangle001, gardener, etc.)
$env the environment name (ex: prod, dev)
$type the type of distro source. ex: 'distro_name', 'distro_url', 'make_url'
$source a distro name, URL to a distro, or URL to a Drush make file.
    public function installEnvironment($site, $env, $type, $source)
    {
        throw new CloudApiCallNotImplemented('CALL: Cloud call "installEnvironment" is not implemented for your own safety.');
        $method = 'POST';
        $resource = sprintf('/sites/%s/envs/%s/install/%s', $this->getSiteName($site), $env, $type);
        $params = array('source' => $source);
        $result = $this->callAcapi($site, $method, $resource, $params);
        return $result['result'];
    }