Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Add support for setting mail notification priority #15651

Merged
merged 1 commit into from
Sep 28, 2016
Merged

[5.3] Add support for setting mail notification priority #15651

merged 1 commit into from
Sep 28, 2016

Conversation

KKSzymanowski
Copy link
Contributor

Usage:

class Foo extends Notification
{
    public function toMail($notifiable)
    {
        return (new MailMessage)
            ->priority(1);
    }
}

Priority levels like in Swift message: 1 - Highest, 3 - Default, 5 - Lowest.
It would be nice if we would have some constants for this. Not sure if it belongs here or on Swift\Message. What do you think?

@taylorotwell taylorotwell merged commit 376c0a9 into laravel:5.3 Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants