public function __construct($endpoint, $apiKey, $secretKey, $platform = 'cloudstack') { $this->setEndpoint($endpoint)->setApiKey($apiKey)->setSecretKey($secretKey)->setPlatform($platform); }