Update README.md
Should be "listener: ~" on the line 595, otherwise listener does not working
This commit is contained in:
parent
8a14fbd73b
commit
be4c99a0d3
|
@ -592,7 +592,7 @@ Declare that you want to update the index in real time:
|
|||
persistence:
|
||||
driver: orm
|
||||
model: Application\UserBundle\Entity\User
|
||||
listener: # by default, listens to "insert", "update" and "delete"
|
||||
listener: ~ # by default, listens to "insert", "update" and "delete"
|
||||
|
||||
Now the index is automatically updated each time the state of the bound Doctrine repository changes.
|
||||
No need to repopulate the whole "user" index when a new `User` is created.
|
||||
|
|
Loading…
Reference in a new issue