[PR #850] [MERGED] Event listener to programmatically attach entity listeners. #8797

Open
opened 2026-01-22 16:01:46 +01:00 by admin · 0 comments
Owner

📋 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: masterHead: attach-entity-listeners


📝 Commits (2)

  • e69cd37 Event listener to programmatically attach entity listeners.
  • 9e3ad91 Version 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.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/850 **Author:** [@FabioBatSilva](https://github.com/FabioBatSilva) **Created:** 11/18/2013 **Status:** ✅ Merged **Merged:** 11/25/2013 **Merged by:** [@guilhermeblanco](https://github.com/guilhermeblanco) **Base:** `master` ← **Head:** `attach-entity-listeners` --- ### 📝 Commits (2) - [`e69cd37`](https://github.com/doctrine/orm/commit/e69cd372260d99f852ff74fda18e4b21a22dcf3a) Event listener to programmatically attach entity listeners. - [`9e3ad91`](https://github.com/doctrine/orm/commit/9e3ad91225f0ed05b0e9fbfd7658ec10094a6e01) Version 2.5.0-DEV ### 📊 Changes **5 files changed** (+285 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description This patch adds a event listener to programmatically attach entity listeners. Especially useful to attach listeners to external bundles/modules.. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:01:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8797