Scalr\Stats\CostAnalytics\Prices::getSupportedClouds PHP Method

getSupportedClouds() public method

Gets array of supported clouds
public getSupportedClouds ( ) : array
return array
    public function getSupportedClouds()
    {
        $allowedClouds = (array) \Scalr::config('scalr.allowed_clouds');
        return array_values(array_intersect($allowedClouds, array_merge([SERVER_PLATFORMS::EC2, SERVER_PLATFORMS::GCE], PlatformFactory::getOpenstackBasedPlatforms(), PlatformFactory::getCloudstackBasedPlatforms())));
    }