line('The introduction to the notification.') ->action('Notification Action', url('/')) ->line('Thank you for using our application!'); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } public function toTwitter($notifiable) { $text = "Calcio a 5 Anteprima - " . $notifiable->title . " " . url(env('APP_URL') . "/" . $notifiable->slug); return new TwitterStatusUpdate($text);//->withImage('marcel.png'); } }