dispatch(new App\Jobs\SendMailJob($details)); code example
Example 1: laravel retry failed jobs command
php artisan queue:retry all
Example 2: execute job callback laravel
Queue::after(function (JobProcessed $event) {
// $event->connectionName
// $event->job
// $event->job->payload()
});