for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace EventSauce\EventSourcing\LibraryConsumptionTests\EventHandling;
use EventSauce\EventSourcing\EventHandlingMessageConsumer;
use EventSauce\EventSourcing\EventStub;
use EventSauce\EventSourcing\Message;
/**
* @testAsset
*/
class DummyEventHandler extends EventHandlingMessageConsumer
{
public EventStub $event;
public Message $message;
protected function handleEventStub(EventStub $event, Message $message): void
$this->event = $event;
$this->message = $message;
}