[PR #600] [CLOSED] [PreUpdateEventArgs] Allows to add a new value on the entity changeset #8428

Closed
opened 2026-01-22 15:59:53 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/600
Author: @egeloen
Created: 3/5/2013
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 8ebe98b [PreUpdateEventArgs] Allows to add a new value on the entity changeset

📊 Changes

1 file changed (+21 additions, -0 deletions)

View changed files

📝 lib/Doctrine/ORM/Event/PreUpdateEventArgs.php (+21 -0)

📄 Description

Hey!

I propose to add a addNewValue method on the PreUpdateEventArgs. This method allows to add a new value on the entity changeset when the entity changeset does not wrap the field.

In one of my app, I need to update a field if an entity is updated but the field is not updated at the beginning.


🔄 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/600 **Author:** [@egeloen](https://github.com/egeloen) **Created:** 3/5/2013 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`8ebe98b`](https://github.com/doctrine/orm/commit/8ebe98b9ba0f4b87db459b6c6b6dc893a52bea9f) [PreUpdateEventArgs] Allows to add a new value on the entity changeset ### 📊 Changes **1 file changed** (+21 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Event/PreUpdateEventArgs.php` (+21 -0) </details> ### 📄 Description Hey! I propose to add a `addNewValue` method on the `PreUpdateEventArgs`. This method allows to add a new value on the entity changeset when the entity changeset does not wrap the field. In one of my app, I need to update a field if an entity is updated but the field is not updated at the beginning. --- <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:59:53 +01:00
admin closed this issue 2026-01-22 15:59:54 +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#8428