1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Fix yaml example

This commit is contained in:
Fabio B. Silva 2013-02-02 16:19:35 -02:00
parent 7764ed9a8b
commit c5aecd43c8

View File

@ -771,18 +771,19 @@ you should map the listener method using the event type mapping.
MyProject\Entity\User:
type: entity
UserListener:
preFlush: [preFlushHandler]
postLoad: [postLoadHandler]
entityListeners:
UserListener:
preFlush: [preFlushHandler]
postLoad: [postLoadHandler]
postPersist: [postPersistHandler]
prePersist: [prePersistHandler]
postPersist: [postPersistHandler]
prePersist: [prePersistHandler]
postUpdate: [postUpdateHandler]
preUpdate: [preUpdateHandler]
postUpdate: [postUpdateHandler]
preUpdate: [preUpdateHandler]
postRemove: [postRemoveHandler]
preRemove: [preRemoveHandler]
postRemove: [postRemoveHandler]
preRemove: [preRemoveHandler]
# ....