Skip to content

Commit

Permalink
updates README
Browse files Browse the repository at this point in the history
  • Loading branch information
nixilla committed Aug 21, 2018
1 parent 435dc04 commit 13a5d85
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,26 @@ class AppKernel extends Kernel

## Configuration

Set your event repository service for persisting events to data store

```yaml
#app/config/config.yml

changeset:
event_repository: '@your.prefered.implementation'

```
```

Wire your command handlers

```yaml
#app/config/services.yml

services:

AppBundle\Command\Handler\:
resource: '%kernel.root_dir%/../src/AppBundle/Command/Handler'
public: true
autowire: true
tags: [ 'changeset.command.handler' ]
```

0 comments on commit 13a5d85

Please sign in to comment.