DigiComp.FlowSymfonyBridge..../Tests/Functional/Fixtures/Message/TestMessageHandler.php

19 lines
429 B
PHP
Raw Normal View History

<?php
namespace DigiComp\FlowSymfonyBridge\Messenger\Tests\Functional\Fixtures\Message;
use Symfony\Component\Messenger\Handler\MessageSubscriberInterface;
class TestMessageHandler implements MessageSubscriberInterface
{
public static function getHandledMessages(): iterable
{
yield TestMessage::class => [];
}
public function __invoke(TestMessage $message)
{
//do nothing for now
}
}