Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Szurovecz committed Nov 9, 2014
1 parent 1f323d1 commit 6058f38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/predaddy/domain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ class UserCommandHandler
$commandBus->post(new ModifyEmail($userId, $email));
```

Hint: If you would like to validate commands before they are being processed, take a look at [predaddy-symfony-validator component](https://github.com/szjani/predaddy-symfony-validator).

### Event Sourcing

The following configuration provides you a direct command passing process, so commands are being sent directly to the aggregate roots. As you can see it uses Doctrine implementation of `ObservableTransactionManager` and `EventStore`.
Expand Down

0 comments on commit 6058f38

Please sign in to comment.