mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #413] [MERGED] code refactorings on persister #8156
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/413
Author: @FabioBatSilva
Created: 7/29/2012
Status: ✅ Merged
Merged: 11/25/2012
Merged by: @beberlei
Base:
master← Head:refactory-persisters📝 Commits (10+)
b998a52remove '_' prefix at BasicEntityPersistere6f08f0remove '_' prefix at AbstractCollectionPersister7e348b7small refacory on AbstractEntityInheritancePersister308b54acode refactoring on BasicEntityPersister3156c15code refactoring on JoinedSubclassPersister07492bdfix JoinedSubclassPersister#delete when supports foreign key2b1aaebcode refactoring on ManyToManyPersister9a041c8code refactoring on OneToManyPersister14a2b61code refactoring on SingleTablePersister04e1838change 'use' statements📊 Changes
10 files changed (+1267 additions, -1035 deletions)
View changed files
📝
lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php(+99 -37)📝
lib/Doctrine/ORM/Persisters/AbstractEntityInheritancePersister.php(+16 -13)📝
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(+625 -554)📝
lib/Doctrine/ORM/Persisters/ElementCollectionPersister.php(+1 -1)📝
lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php(+287 -227)📝
lib/Doctrine/ORM/Persisters/ManyToManyPersister.php(+78 -72)����
lib/Doctrine/ORM/Persisters/OneToManyPersister.php(+56 -45)📝
lib/Doctrine/ORM/Persisters/SingleTablePersister.php(+75 -56)📝
tests/Doctrine/Tests/Mocks/EntityPersisterMock.php(+27 -27)📝
tests/Doctrine/Tests/ORM/Persisters/BasicEntityPersisterTypeValueSqlTest.php(+3 -3)📄 Description
hi
This patch does not add any feature, just small refactorings and code clean up.
It make easier to implement the generation of persisters:
http://www.doctrine-project.org/jira/browse/DDC-1889
Cheers ...
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.