Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-b committed Jan 18, 2023
1 parent 4adb844 commit a9c9c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ For example an `FindPostByIdQuery` will get mapped to `FindPostByIdHandler` or a
3. **Custom** - if you want to create your own custom mapping strategy you can do so by implementing the `SasaB\MessageBus\Mapper` interface.

### Middleware
Each command will be passed through a chain of Middlewares. By the default the chain is empty, but the library does offer
Each command will be passed through a chain of Middlewares. By default the chain is empty, but the library does offer
some Middleware out of the box:
* **EventMiddleware** - raises events before and after handling a command or query, and on failure
* **TransactionMiddleware** - runs individual _Commands_ or _Queries_ in a Transaction, `begin`, `commit` and `rollback` steps are plain `\Closure` objects, so you can use whichever ORM or Persistence approach you prefer.
Expand Down

0 comments on commit a9c9c25

Please sign in to comment.