File: D:/HostingSpaces/SBogers10/reiskick.komma.nl/vendor/sentry/sentry/src/EventFactoryInterface.php
<?php
declare(strict_types=1);
namespace Sentry;
/**
* Factory for the {@see Event} class.
*/
interface EventFactoryInterface
{
/**
* Create an {@see Event} with a stacktrace attached to it.
*
* @param array<string, mixed> $payload The data to be attached to the Event
*/
public function createWithStacktrace(array $payload): Event;
/**
* Create an {@see Event} from a data payload.
*
* @param array<string, mixed> $payload The data to be attached to the Event
*/
public function create(array $payload): Event;
}