mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #712] [CLOSED] Extra lazy get for inverse side of many-to-many #8593
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/712
Author: @sandermarechal
Created: 7/1/2013
Status: ❌ Closed
Base:
master← Head:extra-lazy-get-manytomany📝 Commits (1)
9d10ea7Extra lazy get for inverse side of many-to-many📊 Changes
3 files changed (+45 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/PersistentCollection.php(+1 -1)📝
lib/Doctrine/ORM/Persisters/ManyToManyPersister.php(+22 -0)📝
tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php(+22 -0)📄 Description
This is the cange requested by @stof and @beberlei in PR #710. It implements an extra lazy get on the working side of the relationship. As mentioned in #710 the unit tests fails for reasons I don't quite understand. The error I get is:
If someone with a little more understanding of the Doctrine internals can help me fix this, then we could restore some of the functionality that PR #710 had to remove.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.