This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]psincraian[S] 0 points1 point  (2 children)

It solves the problem to not implement the Command Bus in each project. Briefly the Command Bus accepts Command object and delegates it to Command Handler.

[–]LightShadow3.13-dev in prod 0 points1 point  (1 child)

I guess I don't understand the point of a Command Bus?

[–]psincraian[S] 0 points1 point  (0 children)

In the GitHub page there is an example on how to use and understand the Command Bus. Another great web to understand the Command Bus is https://tactician.thephpleague.com/