laravel new job command code example
Example 1: how create jobs in laravel example
php artisan make:job ProcessPodcast
Example 2: execute job callback laravel
Queue::after(function (JobProcessed $event) {
// $event->connectionName
// $event->job
// $event->job->payload()
});