Route::get('/notification', function () { $documentManagerFiles = DocumentManagerFile::where('ocr_project_id', 1)->where('revision', '>', 0 )->take(5)->get(); // dd($documentManagerFiles); return (new DocumentManagerFileCreatedNotification($documentManagerFiles)) ->toMail(Auth::user()); });
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter