File "Request.php"
Full Path: /var/www/drive/sentry/sentry/src/HttpClient/Request.php
File size: 472 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare(strict_types=1);
namespace Sentry\HttpClient;
/**
* @internal
*/
final class Request
{
/**
* @var string
*/
private $stringBody;
public function hasStringBody(): bool
{
return $this->stringBody !== null;
}
public function getStringBody(): ?string
{
return $this->stringBody;
}
public function setStringBody(string $stringBody): void
{
$this->stringBody = $stringBody;
}
}