HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/Neopoints/momsecurity.be/vendor/sentry/sentry/src/Spool/SpoolInterface.php
<?php

declare(strict_types=1);

namespace Sentry\Spool;

use Sentry\Event;
use Sentry\Transport\TransportInterface;

/**
 * This interface must be implemented by all classes willing to provide the
 * storage of a spool.
 *
 * @author Stefano Arlandini <sarlandini@alice.it>
 */
interface SpoolInterface
{
    /**
     * Queues an event.
     *
     * @param Event $event The event to store
     *
     * @return bool Whether the operation has succeeded
     */
    public function queueEvent(Event $event): bool;

    /**
     * Sends the events that are in the queue using the given transport.
     *
     * @param TransportInterface $transport The transport instance
     */
    public function flushQueue(TransportInterface $transport): void;
}