mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #105] [MERGED] DDC-1278 - EntityManager::clear($entity) support #7712
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/105
Author: @domnikl
Created: 8/13/2011
Status: ✅ Merged
Merged: 10/16/2011
Merged by: @beberlei
Base:
master← Head:DDC-1278📝 Commits (4)
05fb0b9DDC-1278 - EntityManager::clear($entity) support745535dfixed typo25f5ff0DDC-1278 - EntityManager::clear($entity) support6e47d7bDDC-1278 - EntityManager::clear($entity) support📊 Changes
4 files changed (+91 additions, -30 deletions)
View changed files
📝
lib/Doctrine/ORM/EntityManager.php(+2 -7)📝
lib/Doctrine/ORM/UnitOfWork.php(+37 -21)📝
tests/Doctrine/Tests/Models/CMS/CmsUser.php(+2 -2)📝
tests/Doctrine/Tests/ORM/Functional/BasicFunctionalTest.php(+50 -0)📄 Description
added cascade detach operation only for entites with the same name when $entityName on clear() was specified. I am still unsure where to put my tests for that.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.