DDC-2583: [GH-742] Cleaned up events.rst #3239

Closed
opened 2026-01-22 14:16:23 +01:00 by admin · 5 comments
Owner

Originally created by @doctrinebot on GitHub (Jul 30, 2013).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of caponica:

Url: https://github.com/doctrine/doctrine2/pull/742

Message:

Was a mix-up between TestEventSubscriber and EventTest (e.g. the definition of TestEventSubscriber referenced TestEvent::preFoo, which did not exist). To clarify this I've renamed EventTest to TestEvent.

Tried to clarify the text in the Naming Convention section.

Added note that onClear is not a lifecycle callback.

Tried to clarify the definition of Lifecycle Callbacks.

Separated key/value descriptions into XML and YAML parts since the details are different

Added note in Implementing Event Listeners section that since 2.4 you do have access to EntityManager and UnitOfWork from lifecycle callbacks.

Added example about how to use the computed changeset to modify a primitive value in preUpdate section

Added naming convention example to Entity listeners class section

The other changes are typos and small fixes.

Originally created by @doctrinebot on GitHub (Jul 30, 2013). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of caponica: Url: https://github.com/doctrine/doctrine2/pull/742 Message: Was a mix-up between TestEventSubscriber and EventTest (e.g. the definition of TestEventSubscriber referenced TestEvent::preFoo, which did not exist). To clarify this I've renamed EventTest to TestEvent. Tried to clarify the text in the Naming Convention section. Added note that onClear is not a lifecycle callback. Tried to clarify the definition of Lifecycle Callbacks. Separated key/value descriptions into XML and YAML parts since the details are different Added note in Implementing Event Listeners section that since 2.4 you do have access to EntityManager and UnitOfWork from lifecycle callbacks. Added example about how to use the computed changeset to modify a primitive value in preUpdate section Added naming convention example to Entity listeners class section The other changes are typos and small fixes.
admin closed this issue 2026-01-22 14:16:24 +01:00
Author
Owner

@doctrinebot commented on GitHub (Aug 25, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-742] was closed:
https://github.com/doctrine/doctrine2/pull/742

@doctrinebot commented on GitHub (Aug 25, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-742] was closed: https://github.com/doctrine/doctrine2/pull/742
Author
Owner

@doctrinebot commented on GitHub (Aug 25, 2013):

Comment created by @ocramius:

Merged: https://github.com/doctrine/doctrine2/commit/e2a67c2f1c1f2f7e670264c52294968963f3b242

@doctrinebot commented on GitHub (Aug 25, 2013): Comment created by @ocramius: Merged: https://github.com/doctrine/doctrine2/commit/e2a67c2f1c1f2f7e670264c52294968963f3b242
Author
Owner

@doctrinebot commented on GitHub (Aug 25, 2013):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Aug 25, 2013): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2014):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-742] was assigned:
https://github.com/doctrine/dbal/pull/742

@doctrinebot commented on GitHub (Dec 13, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-742] was assigned: https://github.com/doctrine/dbal/pull/742
Author
Owner

@doctrinebot commented on GitHub (Dec 24, 2014):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-742] was closed:
https://github.com/doctrine/dbal/pull/742

@doctrinebot commented on GitHub (Dec 24, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-742] was closed: https://github.com/doctrine/dbal/pull/742
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3239