Fixed lifecycleCallbacks documentation bug when using YAML mapping
This commit is contained in:
parent
2a38e5f408
commit
8fc7eb295b
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user