mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 22:06:52 +01:00 
			
		
		
		
	 d555c42644
			
		
	
	
		d555c42644
		
			
		
	
	
	
	
		
			
			* update composer.lock * run pint * fix phpstan * update migrations (sqlite `dropForeign`) * fix migrations * Reset these back for now * Alphabetize the rules * run `php artisan filament:upgrade` --------- Co-authored-by: Lance Pioch <git@lance.sh>
		
			
				
	
	
		
			26 lines
		
	
	
		
			598 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			598 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Notifications;
 | |
| 
 | |
| use App\Models\User;
 | |
| use Illuminate\Notifications\Notification;
 | |
| use Illuminate\Notifications\Messages\MailMessage;
 | |
| 
 | |
| class MailTested extends Notification
 | |
| {
 | |
|     public function __construct(private User $user) {}
 | |
| 
 | |
|     public function via(): array
 | |
|     {
 | |
|         return ['mail'];
 | |
|     }
 | |
| 
 | |
|     public function toMail(): MailMessage
 | |
|     {
 | |
|         return (new MailMessage())
 | |
|             ->subject('Panel Test Message')
 | |
|             ->greeting('Hello ' . $this->user->name . '!')
 | |
|             ->line('This is a test of the Panel mail system. You\'re good to go!');
 | |
|     }
 | |
| }
 |