1
0
mirror of synced 2024-12-14 15:16:04 +03:00

Fixed lifecycleCallbacks documentation bug when using YAML mapping

This commit is contained in:
Ivar Nesje 2011-01-22 19:42:48 +08:00 committed by Benjamin Eberlei
parent 2a38e5f408
commit 8fc7eb295b

View File

@ -275,9 +275,9 @@ can do it with the following.
# ...
name:
type: string(50)
lifecycleCallbacks:
doStuffOnPrePersist: prePersist
doStuffOnPostPersist: postPersist
lifecycleCallbacks:
prePersist: [ doStuffOnPrePersist, doOtherStuffOnPrePersistToo ]
postPersist: [ doStuffOnPostPersist ]
XML would look something like this: