File "RequestFetcherInterface.php"
Full Path: /var/www/drive/sentry/sentry-laravel/src/Sentry/Laravel/Http/RequestFetcherInterface.php
File size: 476 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare(strict_types=1);
namespace Sentry\Integration;
use Psr\Http\Message\ServerRequestInterface;
/**
* Allows customizing the request information that is attached to the logged event.
* An implementation of this interface can be passed to RequestIntegration.
*/
interface RequestFetcherInterface
{
/**
* Returns the PSR-7 request object that will be attached to the logged event.
*/
public function fetchRequest(): ?ServerRequestInterface;
}