[PR #430] [CLOSED] EntityManager connection setter #8178

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/430
Author: @albertofem
Created: 8/23/2012
Status: Closed

Base: masterHead: master


📝 Commits (2)

📊 Changes

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

View changed files

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

📄 Description

I found myself wanting to set the connection in runtime for an EntityManager. I had to use reflection to achieve that. I would be great to have this setter.


🔄 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/430 **Author:** [@albertofem](https://github.com/albertofem) **Created:** 8/23/2012 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`4007c3a`](https://github.com/doctrine/orm/commit/4007c3af589499cc769d7206f1472ac418e4e28c) Added connection setter - [`11738d5`](https://github.com/doctrine/orm/commit/11738d542243158abdddf10c15fc6102070a89a9) Ups! ### 📊 Changes **1 file changed** (+10 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/EntityManager.php` (+10 -0) </details> ### 📄 Description I found myself wanting to set the connection in runtime for an EntityManager. I had to use reflection to achieve that. I would be great to have this setter. --- <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: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#8178