/home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Http
Edit: /home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Http/Response.php (848B)
statusCode = $statusCode;
$this->content = $content;
$this->headers = $headers;
}
/**
* @return mixed
*/
public function getContent() {
return \json_decode($this->content, true);
}
public function getStatusCode(): int {
return $this->statusCode;
}
public function getHeaders(): array {
return $this->headers;
}
public function ok(): bool {
return $this->getStatusCode() < 400;
}
public function __toString(): string {
return '[Response] HTTP ' . $this->getStatusCode() . ' ' . $this->content;
}
}