Skip to content

Conversation

@gam6itko
Copy link
Contributor

@gam6itko gam6itko commented Aug 13, 2025

I need something like https://symfony.com/doc/current/components/event_dispatcher/traceable_dispatcher.html

FakeEventDispatcher can satisfy my needs

Now we can manage evict or decorate for original EventDispatcher.

$eventDispatcher = $this->fakeEventDispatcher(decorate: true);

@gam6itko gam6itko marked this pull request as draft August 13, 2025 15:24
@gam6itko gam6itko marked this pull request as ready for review August 13, 2025 15:27
@butschster butschster merged commit be28b8f into spiral:2.x Aug 13, 2025
@gam6itko gam6itko deleted the fake-event-dispatcher branch August 13, 2025 19:02
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.

2 participants