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.5] add hasReplyTo method to Mailable class #21093

Merged
merged 1 commit into from
Sep 8, 2017

Conversation

mateusjatenee
Copy link
Contributor

@mateusjatenee mateusjatenee commented Sep 8, 2017

All other "setters" have a hasXXXX method but there is nohasReplyTo. Had to use it today and discovered this haha

This PR just adds it, the merge target is 5.5 but there are no BC so I don't think it's a problem.

@taylorotwell taylorotwell merged commit fbf0e9e into laravel:5.5 Sep 8, 2017
@mateusjatenee mateusjatenee deleted the has-reply-to-method branch September 9, 2017 00:55
@@ -461,6 +461,18 @@ public function replyTo($address, $name = null)
}

/**
* Determine if the given recipient is set on the mailable.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs here should say "Determine if the given replyTo is set on the mailable."

They are not a recipient of the mailable.

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.

None yet

3 participants