mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #6794] Remove copy() method from EntityManager #10144
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?
Original Pull Request: https://github.com/doctrine/orm/pull/6794
State: closed
Merged: Yes
The method
EntityManager::copy()is a pretty old addition to Doctrine and never got any functionality, which is why I created this PR to remove this method from theEntityManager.Because I had to remove this method from
EntityManagerInterfacetoo, I consider this a BC break. Even though the originalEntityManagernever got any functionality for copy, a user may have created a custom entity manager for a project, that uses a custom implementation of copy.Questions: