public function viewedQuote(QuoteInvitationWasViewed $event) { $invitation = $event->invitation; $invitation->markViewed(); }