for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\EventProjector\Events;
use Exception;
use Spatie\EventProjector\EventHandlers\EventHandler;
use Spatie\EventProjector\Models\StoredEvent;
class EventHandlerFailedHandlingEvent
{
/** @var \Spatie\EventProjector\EventHandlers\EventHandler */
public $eventHandler;
/** @var \Spatie\EventProjector\Models\StoredEvent */
public $storedEvent;
/** @var \Exception */
public $exception;
public function __construct(EventHandler $eventHandler, StoredEvent $storedEvent, Exception $exception)
$this->eventHandler = $eventHandler;
$this->storedEvent = $storedEvent;
$this->exception = $exception;
}