Add a test route for a notification

PHOTO EMBED

Wed Aug 30 2023 09:33:30 GMT+0000 (Coordinated Universal Time)

Saved by @ggullstrand #laravel #php

    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());
    });
content_copyCOPY