mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-17 02:32:50 +00:00
Add message handler definition on PostTicketUPdateMessageHandler
This commit is contained in:
@@ -14,10 +14,13 @@ namespace Chill\TicketBundle\Messenger\Handler;
|
||||
use Chill\TicketBundle\Event\PostTicketUpdateEvent;
|
||||
use Chill\TicketBundle\Messenger\PostTicketUpdateMessage;
|
||||
use Chill\TicketBundle\Repository\TicketRepositoryInterface;
|
||||
use Symfony\Component\Messenger\Attribute\AsMessageHandler;
|
||||
use Symfony\Component\Messenger\Exception\UnrecoverableMessageHandlingException;
|
||||
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
|
||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
||||
|
||||
final readonly class PostTicketUpdateMessageHandler
|
||||
#[AsMessageHandler]
|
||||
final readonly class PostTicketUpdateMessageHandler implements MessageHandlerInterface
|
||||
{
|
||||
public function __construct(
|
||||
private EventDispatcherInterface $eventDispatcher,
|
||||
|
Reference in New Issue
Block a user