3 namespace BookStack\Activity\Notifications\Handlers;
5 use BookStack\Activity\Models\Activity;
6 use BookStack\Activity\Models\Loggable;
7 use BookStack\Users\Models\User;
9 interface NotificationHandler
13 * Provides the activity, related activity detail/model
14 * along with the user that triggered the activity.
16 public function handle(Activity $activity, string|Loggable $detail, User $user): void;