[PR #421] [CLOSED] Add a check for contains into addMethod generator #8164

Open
opened 2026-01-22 15:58:42 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/421
Author: @inoryy
Created: 8/10/2012
Status: Closed

Base: masterHead: improve-entity-generator


📝 Commits (1)

  • 5bb0eb5 improvements 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.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/421 **Author:** [@inoryy](https://github.com/inoryy) **Created:** 8/10/2012 **Status:** ❌ Closed **Base:** `master` ← **Head:** `improve-entity-generator` --- ### 📝 Commits (1) - [`5bb0eb5`](https://github.com/doctrine/orm/commit/5bb0eb58d35952346d3a8d7558f0ab26884e8a1e) improvements to addX method, now check for contains ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/EntityGenerator.php` (+3 -1) </details> ### 📄 Description This will help ensure that collection doesn't contain duplicates. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:58:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8164