Last active
December 30, 2019 09:14
-
-
Save msacar/8c9e4030e51bc79b3f51f7b6cea50587 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Notifications; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Notifications\Messages\MailMessage; | |
use Illuminate\Notifications\Notification; | |
class SubscriptionStarted extends Notification | |
{ | |
use Queueable; | |
public function via($notifiable) | |
{ | |
return [ 'mail' ]; | |
} | |
public function toMail($notifiable) | |
{ | |
return (new MailMessage) | |
->line('Merhaba Aboneliğiniz başlamıştır.') | |
->action('Hemen Kullanmaya Başla', url('/')) | |
->line('Teşekkürler !'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment