EmailHandler
in package
FinalYes
Example handler that would send email.
In a real app inject Mailer service. Here we only simulate send.
Attributes
- #[AsMessageHandler]
Table of Contents
Methods
- __invoke() : void
Methods
__invoke()
public
__invoke(EmailTask $task) : void
Parameters
- $task : EmailTask