SendRecoveryCodeJob
class SendRecoveryCodeJob implements ShouldQueue (View source)
Job responsible for asynchronously sending a recovery code e-mail.
This job delegates the actual sending logic to the EmailService and ensures that the operation is executed through Laravel's queue system.
Traits
Dispatchable
InteractsWithQueue
Queueable
SerializesModels
Properties
| protected string | $to | Recipient e-mail address. |
|
| protected string | $name | Recipient full name. |
|
| protected string | $code | Recovery code to be sent. |
Methods
__construct(string $to, string $name, string $code)
Create a new job instance.
void
Details
__construct(string $to, string $name, string $code)
Create a new job instance.
void
handle(EmailService $emailService)
Execute the job.