*/ public function via(object $notifiable): array { return ['database']; } /** * Get the array representation of the notification. * * @return array */ public function toArray(object $notifiable): array { return [ 'title' => 'New Torrent Report Assigned!', 'body' => 'You have been assigned a new torrent report.', 'url' => route('staff.reports.show', ['report' => $this->report]), ]; } }