%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/sentry/sentry/src/ |
Upload File : |
<?php
declare(strict_types=1);
namespace Sentry;
/**
* This class contains the details of the sending operation of an event, e.g.
* if it was sent successfully or if it was skipped because of some reason.
*/
final class Response
{
/**
* @var ResponseStatus The status of the sending operation of the event
*/
private $status;
/**
* @var Event|null The instance of the event being sent, or null if it
* was not available yet
*/
private $event;
public function __construct(ResponseStatus $status, ?Event $event = null)
{
$this->status = $status;
$this->event = $event;
}
/**
* Gets the status of the sending operation of the event.
*/
public function getStatus(): ResponseStatus
{
return $this->status;
}
/**
* Gets the instance of the event being sent, or null if it was not available yet.
*/
public function getEvent(): ?Event
{
return $this->event;
}
}