Spaces:
Running
Running
Download app/Notifications/CsvAnalysisComplete.php from Ailixir-AI-Team/ailixir-api: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/77cc17e2fac3fd65fd67c85211ea723a94b90585/app/Notifications/CsvAnalysisComplete.php
- Command line
-
hf download hf://spaces/Ailixir-AI-Team/ailixir-api@77cc17e2fac3fd65fd67c85211ea723a94b90585/app/Notifications/CsvAnalysisComplete.php
-
curl -L -o CsvAnalysisComplete.php https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/77cc17e2fac3fd65fd67c85211ea723a94b90585/app/Notifications/CsvAnalysisComplete.php
1.17 kB
| namespace App\Notifications; | |
| use Illuminate\Bus\Queueable; | |
| use Illuminate\Contracts\Queue\ShouldQueue; | |
| use Illuminate\Notifications\Messages\MailMessage; | |
| use Illuminate\Notifications\Notification; | |
| class CsvAnalysisComplete extends Notification | |
| { | |
| use Queueable; | |
| /** | |
| * Create a new notification instance. | |
| */ | |
| public function __construct() | |
| { | |
| // | |
| } | |
| /** | |
| * Get the notification's delivery channels. | |
| * | |
| * @return array<int, string> | |
| */ | |
| public function via(object $notifiable): array | |
| { | |
| return ['mail']; | |
| } | |
| /** | |
| * Get the mail representation of the notification. | |
| */ | |
| public function toMail(object $notifiable): MailMessage | |
| { | |
| return (new MailMessage) | |
| ->line('The introduction to the notification.') | |
| ->action('Notification Action', url('/')) | |
| ->line('Thank you for using our application!'); | |
| } | |
| /** | |
| * Get the array representation of the notification. | |
| * | |
| * @return array<string, mixed> | |
| */ | |
| public function toArray(object $notifiable): array | |
| { | |
| return [ | |
| // | |
| ]; | |
| } | |
| } | |