JonasPardon / laravel-event-visualizer

Laravel package to visualize events with their handlers, including jobs to chain them together.
MIT License
19 stars 5 forks source link

Support `Bus::dispatchChain` #19

Closed joelvh closed 1 year ago

joelvh commented 1 year ago

This adds support for Bus::dispatchChain. This change introduces the idea that multiple classes can be resolved rather than a single class.

Tests are added for an array of jobs as an argument or assigned to a variable.

I've also removed the exception when an unsupported dispatch call is encountered in order to avoid exiting early.

See #8 for some discussion about this.

JonasPardon commented 1 year ago

Hi @joelvh, this all looks good to me. Thanks for the contribution!