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