Skip to content

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