[PR #454] [CLOSED] Replaced the hard coded classname into static in the Entity Manager, in order to allow EntityManager extension #8219

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/454
Author: @HarmenM
Created: 9/25/2012
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 9ebb7fd Update lib/Doctrine/ORM/EntityManager.php

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 lib/Doctrine/ORM/EntityManager.php (+1 -1)

📄 Description

Changing the hard coded reference to the EntityManager class into static in the factory method to create an entity manager instance
(new EntityManager() --> new static()). In order to make it possible to extend the EntityManager class


🔄 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/454 **Author:** [@HarmenM](https://github.com/HarmenM) **Created:** 9/25/2012 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`9ebb7fd`](https://github.com/doctrine/orm/commit/9ebb7fda78e0f1992598ba25a9f6c80170b7ffce) Update lib/Doctrine/ORM/EntityManager.php ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/EntityManager.php` (+1 -1) </details> ### 📄 Description Changing the hard coded reference to the EntityManager class into static in the factory method to create an entity manager instance (new EntityManager() --> new static()). In order to make it possible to extend the EntityManager class --- <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:58:56 +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#8219