src/Notification/NotificationSyncer.php
protected function mailNotifications(MailableInterface $blueprint, array $recipients)
    {
        foreach ($recipients as $user) {
            if ($user->shouldEmail($blueprint::getType())) {
                $this->mailer->send($blueprint, $user);
            }
        }
    }
protected function mailNotifications(MailableInterface $blueprint, array $recipients)
    {
        foreach ($recipients as $user) {
            if ($user->shouldEmail($blueprint::getType())) {
                $this->mailer->send($blueprint, $user);
            }
        }
    }
protected function mailNotifications ( MailableInterface $ blueprint , array $ recipients ) { foreach ( $ recipients as $ user ) { if ( $ user -> shouldEmail ( $ blueprint :: getType ( ) ) ) { $ this -> mailer -> send ( $ blueprint , $ user ) ; } } }
Mail a notification to a list of users.

@param MailableInterface $blueprint
@param User[] $recipients
Mail a notification to a list of users .