Skip to content

[8.x] Include dispatchSync in the DispatchesJobs trait #37063

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

Merged
merged 3 commits into from
Apr 20, 2021

Conversation

JacobBennett
Copy link
Contributor

Include dispatchSync in the DispatchesJobs trait, allowing users to use the new method when dispatching jobs from a controller directly.

@driesvints driesvints changed the title Update DispatchesJobs.php [8.x] Include dispatchSync in the DispatchesJobs trait Apr 20, 2021
@driesvints
Copy link
Member

@JacobBennett can you also add the deprecation notice to the dispatchNow method in the same fashion as we did in other places for dispatchNow?

@taylorotwell taylorotwell merged commit f79b684 into laravel:8.x Apr 20, 2021
@JacobBennett JacobBennett deleted the patch-2 branch April 21, 2021 02:14
@browner12
Copy link
Contributor

For reference:

#32559

#36834

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.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy