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

- Add dispatcher tools #32

Merged
merged 14 commits into from
Jun 24, 2024
Merged

- Add dispatcher tools #32

merged 14 commits into from
Jun 24, 2024

Conversation

JakubKermes
Copy link
Contributor

@JakubKermes JakubKermes commented Jun 6, 2024

Added tools for dispatching jobs and events.
This should close #41 also.

@JakubKermes JakubKermes changed the title Add dispatcher tools - Add dispatcher tools Jun 6, 2024
@JakubKermes
Copy link
Contributor Author

JakubKermes commented Jun 10, 2024

Despite handling it the same, assertDispatched() function uses
Illuminate\Support\Testing\Fakes\BusFake::assertDispatched for jobs, and
Method Illuminate\Events\Dispatcher::assertDispatched for events which throws "Call to undefined method" error

@JakubKermes JakubKermes marked this pull request as ready for review June 11, 2024 07:04
src/Features/Traits/Dispatcher.php Outdated Show resolved Hide resolved
src/Features/Traits/Dispatcher.php Outdated Show resolved Hide resolved
src/Features/Traits/Dispatcher.php Outdated Show resolved Hide resolved
src/Features/Traits/Dispatcher.php Outdated Show resolved Hide resolved
src/Helpers/RecognizeClassHelper.php Outdated Show resolved Hide resolved
src/Helpers/RecognizeClassHelper.php Show resolved Hide resolved
src/Helpers/RecognizeClassHelper.php Outdated Show resolved Hide resolved
config/blt.php Show resolved Hide resolved
src/Features/Traits/Dispatcher.php Outdated Show resolved Hide resolved
src/Features/Traits/Dispatcher.php Outdated Show resolved Hide resolved
src/Helpers/TypesEnum.php Outdated Show resolved Hide resolved
src/Features/Traits/Dispatcher.php Outdated Show resolved Hide resolved
src/Helpers/RecognizeClassHelper.php Outdated Show resolved Hide resolved
src/Helpers/ArrayHelper.php Outdated Show resolved Hide resolved
@JakubKermes JakubKermes merged commit 46a115c into main Jun 24, 2024
2 checks passed
@JakubKermes JakubKermes deleted the add-dispatcher-tools branch June 24, 2024 11:33
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.

Add recognizeClass helper
4 participants