Ovh\Dedicated\Server\ServerClient::getBurst PHP Метод

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

Get Burst
public getBurst ( $domain ) : Guzzle\Http\EntityBodyInterface | string
$domain
Результат Guzzle\Http\EntityBodyInterface | string
    public function getBurst($domain)
    {
        if (!$domain) {
            throw new BadMethodCallException('Parameter $domain is missing.');
        }
        $domain = (string) $domain;
        try {
            $r = $this->get('dedicated/server/' . $domain . '/burst/')->send();
        } catch (\Exception $e) {
            throw new ServerException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
    }