Remove implementation MessageHandlerInterface and use #[AsMessageHandler] attribute

This interface no longer exists
This commit is contained in:
2025-10-01 10:05:12 +02:00
parent 69b59d2ae2
commit 119d870ac8
3 changed files with 3 additions and 6 deletions

View File

@@ -20,10 +20,9 @@ use Doctrine\ORM\EntityManagerInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\Messenger\Attribute\AsMessageHandler;
use Symfony\Component\Messenger\Exception\UnrecoverableMessageHandlingException;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
#[AsMessageHandler]
final readonly class ExportRequestGenerationMessageHandler implements MessageHandlerInterface
final readonly class ExportRequestGenerationMessageHandler
{
private const LOG_PREFIX = '[export_generation] ';