src/Servers/Adapters/DigitalOcean.php
public function images($params)
    {
        try {
            $response = $this->client->request->get($this->apiEndpoint.'/images'.$this->paramsToString($params));

            $status = $this->client->getStatus($response);

            if (200 != $status) {
                throw new Exception('Digital Ocean was not able to successfully provide a list of snapshots.');
            }

            return $this->client->getBody($response);

        } catch (Exception $e) {
            echo 'Unable to list snapshots because '.$e->getMessage();
        }
    }
public function images($params)
    {
        try {
            $response = $this->client->request->get($this->apiEndpoint.'/images'.$this->paramsToString($params));

            $status = $this->client->getStatus($response);

            if (200 != $status) {
                throw new Exception('Digital Ocean was not able to successfully provide a list of snapshots.');
            }

            return $this->client->getBody($response);

        } catch (Exception $e) {
            echo 'Unable to list snapshots because '.$e->getMessage();
        }
    }
List of available snapshots.

@param array $params
@return array