This method ensures that cloudstack instance is always from the current
environment scope
public cloudstack ( string $platform = 'cloudstack', string $apiUrl = null, string $apiKey = null, string $secretKey = null ) : |
||
$platform | string | Platform name |
$apiUrl | string | The endpoint name url |
$apiKey | string | Api key |
$secretKey | string | Secret key |
return | Returns cloudstack instance from DI container |