Test

3 years ago

vikas5914

Test

Code

use MongoDB\Client;
use App\Models\User;
use App\Models\Event;
use Illuminate\Http\Request;
use App\Jobs\SendReminderEmail;
use App\Jobs\SendRegistrationEmail;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Bus;

$event = Event::find(28);
$user = User::find(32980); //vikas
// $user = User::find(32973);  //Maaz

Bus::dispatch(new SendReminderEmail($event, $user));

Output

New course: Desktop apps with Electron