prooph/service-bus

Get rid of the AbstractInvokeStrategy

Closed this issue · 3 comments

We should get rid of the AbstractInvokeStrategy, the only class extending it is the HandleCommandStrategy, so there is no need for this abstraction.

but the AbstractInvokeStrategy should make it easy to define a userland strategy (from the docs):

If your favorite convention is not there you can easily write your own invoke strategy by extending Prooph\ServiceBus\Plugin\InvokeStrategy\AbstractInvokeStrategy and implementing the canInvoke and invoke methods.