mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #160] [MERGED] Allow to unset one-to-one relation with generated class #7793
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/160
Author: @goetas
Created: 10/19/2011
Status: ✅ Merged
Merged: 11/13/2011
Merged by: @beberlei
Base:
master← Head:generation📝 Commits (10+)
e19fd75Better indentation for generated class9c1202aAdded on generated class.8f09281Spacesbe3adfbWith TO_MANY relations, class filed is instanceof ArrayCollection,596ba3dCollection inteface instead of ArrayCollectionfe84a61Better code generation when association is nullabled4059b8Nullable relations, fixing join condition5f80b57Improoved coding standardsf533074Coding standards7efd615Coding standards📊 Changes
1 file changed (+28 additions, -5 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/EntityGenerator.php(+28 -5)📄 Description
Added on generated class.
This generate methods like:
that allow to remove "Group" association if the relation is one-to-one.
Plus some indentation issue