mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #600] [CLOSED] [PreUpdateEventArgs] Allows to add a new value on the entity changeset #8428
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/600
Author: @egeloen
Created: 3/5/2013
Status: ❌ Closed
Base:
master← Head: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
addNewValuemethod on thePreUpdateEventArgs. 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.