Skip to content

Switch method from handle to __invoke for command handlers and query handlers

Compare
Choose a tag to compare
@christian-kolb christian-kolb released this 07 Jul 14:20
· 12 commits to main since this release
f164af7
  • Breaking change: Switched from handle to __invoke method for CommandHandlerInterface and QueryHandlerInterface. This way the specific command or query can be type hinted in the method signature.