prooph/service-bus

EventRouter catch-all

Closed this issue · 3 comments

Is there a way to listen to all events? For example to log all events.

Something like:

$router->route('*')->to($listener);

You can use a plugin to achieve that.

Ah, thanks!