mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #421] [CLOSED] Add a check for contains into addMethod generator #8164
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/421
Author: @inoryy
Created: 8/10/2012
Status: ❌ Closed
Base:
master← Head:improve-entity-generator📝 Commits (1)
5bb0eb5improvements to addX method, now check for contains📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/EntityGenerator.php(+3 -1)📄 Description
This will help ensure that collection doesn't contain duplicates.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.