Exemple #1
0
 public function markCommentsAsRead()
 {
     Comment::where('user_id', $this->id)->update(['read' => true]);
 }