php cqrs implementation with event and command handling