Scalr\Service\CloudStack\CloudStack::__construct PHP Метод

__construct() публичный Метод

Constructor
public __construct ( string $endpoint, string $apiKey, string $secretKey, string $platform = 'cloudstack' )
$endpoint string Api url
$apiKey string Api key
$secretKey string Api secret key
$platform string Platform name (cloudstack, idcf)
    public function __construct($endpoint, $apiKey, $secretKey, $platform = 'cloudstack')
    {
        $this->setEndpoint($endpoint)->setApiKey($apiKey)->setSecretKey($secretKey)->setPlatform($platform);
    }