[ SendSignInActivityNotification::class, ], UserWasActivated::class => [ SendUserActivatedNotification::class, ], UserWasPurged::class => [ SendUserPurgedNotification::class, ], UserWasSuspended::class => [ SendUserSuspendedNotification::class, ] ]; public function register(): void { $this->app->singleton(GetAuthenticatedUserContext::class, fn () => new GetAuthenticatedUserContext); } public function boot(): void { File::resolveRelationUsing('uploader', fn (File $file) => $file->belongsTo(User::class, 'uploader_id')); } }