Skip to content

Fake event dispatcher - #83

Merged
butschster merged 5 commits into
spiral:2.xfrom
gam6itko:fake-event-dispatcher
Aug 13, 2025
Merged

Fake event dispatcher#83
butschster merged 5 commits into
spiral:2.xfrom
gam6itko:fake-event-dispatcher

Conversation

@gam6itko

@gam6itko gam6itko commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

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