mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #850] [MERGED] Event listener to programmatically attach entity listeners. #8797
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/850
Author: @FabioBatSilva
Created: 11/18/2013
Status: ✅ Merged
Merged: 11/25/2013
Merged by: @guilhermeblanco
Base:
master← Head:attach-entity-listeners📝 Commits (2)
e69cd37Event listener to programmatically attach entity listeners.9e3ad91Version 2.5.0-DEV📊 Changes
5 files changed (+285 additions, -6 deletions)
View changed files
📝
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(+10 -5)📝
lib/Doctrine/ORM/Mapping/MappingException.php(+12 -0)➕
lib/Doctrine/ORM/Tools/AttachEntityListenersListener.php(+79 -0)📝
lib/Doctrine/ORM/Version.php(+1 -1)➕
tests/Doctrine/Tests/ORM/Tools/AttachEntityListenersListenerTest.php(+183 -0)📄 Description
This patch adds a event listener to programmatically attach entity listeners.
Especially useful to attach listeners to external bundles/modules..
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.