Created
November 28, 2018 21:31
-
-
Save gpedro/c8692632cab0fc071f907ccb32119826 to your computer and use it in GitHub Desktop.
Notificação de acordo com o cadastro do usuário
This file contains hidden or 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 | |
/** | |
* Get the notification's delivery channels. | |
* | |
* @param mixed $notifiable | |
* @return array | |
*/ | |
public function via($notifiable) | |
{ | |
return $notifiable->use_fallback_mail ? [FallbackMailChannel::class] : ['mail']; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment