[PR #524] [MERGED] EntityManagerDecorator base class as an extension point for EntityManager #8325

Open
opened 2026-01-22 15:59:24 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/524
Author: @lstrojny
Created: 11/26/2012
Status: Merged
Merged: 5/4/2013
Merged by: @beberlei

Base: masterHead: feature/entity-manager-decorator


📝 Commits (1)

  • acc8b61 Adding EntityManagerDecorator base class as an extension point for EntityManager

📊 Changes

4 files changed (+399 additions, -2 deletions)

View changed files

lib/Doctrine/ORM/Decorator/EntityManagerDecorator.php (+271 -0)
📝 lib/Doctrine/ORM/EntityManager.php (+2 -2)
lib/Doctrine/ORM/EntityManagerInterface.php (+60 -0)
tests/Doctrine/Tests/ORM/Decorator/EntityManagerDecoratorTest.php (+66 -0)

📄 Description

As discussed on IRC. Open issues to be discussed:


🔄 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/524 **Author:** [@lstrojny](https://github.com/lstrojny) **Created:** 11/26/2012 **Status:** ✅ Merged **Merged:** 5/4/2013 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `feature/entity-manager-decorator` --- ### 📝 Commits (1) - [`acc8b61`](https://github.com/doctrine/orm/commit/acc8b61cd151382ddf23967abc93b68d3f5816ac) Adding EntityManagerDecorator base class as an extension point for EntityManager ### 📊 Changes **4 files changed** (+399 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `lib/Doctrine/ORM/Decorator/EntityManagerDecorator.php` (+271 -0) 📝 `lib/Doctrine/ORM/EntityManager.php` (+2 -2) ➕ `lib/Doctrine/ORM/EntityManagerInterface.php` (+60 -0) ➕ `tests/Doctrine/Tests/ORM/Decorator/EntityManagerDecoratorTest.php` (+66 -0) </details> ### 📄 Description As discussed on IRC. Open issues to be discussed: - Should we better extend ObjectManagerDecorator (see https://github.com/doctrine/common/pull/229) and introduce an EntityManagerInterface? - Should the abstract decorator have a constructor? --- <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 15:59:24 +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#8325