mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-987: How to register lifecycle callbacks from YAML is not done correctly in the Events section of the documentation. #1231
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jan 14, 2011).
Originally assigned to: @ostrolucky on GitHub.
Jira issue originally created by user vanamir:
http://www.doctrine-project.org/docs/orm/2.0/en/reference/events.html
The above URL has an example of how to register lifecycle callbacks from YAML, but actually it does not work. The correct way of doing it is mentioned on the page: http://www.doctrine-project.org/docs/orm/2.0/en/reference/yaml-mapping.html
@doctrinebot commented on GitHub (Nov 27, 2013):
Comment created by gammamatrix:
Please close this issue :)
Both pages now have the same documentation.
My configuration was slightly different from the example.
@ostrolucky commented on GitHub (Aug 6, 2018):
Solved. Closing