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

Unit dispatcher is updated to align with Laravel 10.x #49

Closed
wants to merge 2 commits into from

Conversation

NayThuKhant
Copy link

@NayThuKhant NayThuKhant commented Mar 13, 2023

In Laravel 10.x, the flow of dispatch helper function changed a bit and lucid wont be working on it anymore. To solve it, let me create this PR.

This PR will make enable to use dispatch for <10.x version & dispatchSync for >=10.x

  • run method of Lucid\Bus\UnitDispatcher.php &
  • serve method of Lucid\Bus\ServesFeature.php

will now be using dispatchSync() not the dispatch() that lucid used previously.

@NayThuKhant NayThuKhant mentioned this pull request Mar 13, 2023
@NayThuKhant
Copy link
Author

NayThuKhant commented Mar 20, 2023

Support for before and after of Laravel 10 can be found here

#51

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.

1 participant