DDC-3862: Doctrine\ORM\UnitOfWork::orphanRemovals is private #4728

Closed
opened 2026-01-22 14:48:27 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Aug 3, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user erik@evanv.nl:

This variable has no getter (e.g. getScheduledOrphanRemoval) unlike similar properties like Doctrine\ORM\UnitOfWork::entityDeletions.

It would be useful to me if this were exposed.

Originally created by @doctrinebot on GitHub (Aug 3, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user erik@evanv.nl: This variable has no getter (e.g. getScheduledOrphanRemoval) unlike similar properties like Doctrine\ORM\UnitOfWork::entityDeletions. It would be useful to me if this were exposed.
admin added the Improvement label 2026-01-22 14:48:27 +01:00
admin closed this issue 2026-01-22 14:48:27 +01:00
Author
Owner

@doctrinebot commented on GitHub (Aug 3, 2015):

Comment created by @ocramius:

Exposing UoW internals is usually only leading to issues. Exposing it needs a strong use-case (that cannot be achieved otherwise) before being suggested.

@doctrinebot commented on GitHub (Aug 3, 2015): Comment created by @ocramius: Exposing UoW internals is usually only leading to issues. Exposing it needs a strong use-case (that cannot be achieved otherwise) before being suggested.
Author
Owner

@doctrinebot commented on GitHub (Aug 3, 2015):

Issue was closed with resolution "Won't Fix"

@doctrinebot commented on GitHub (Aug 3, 2015): Issue was closed with resolution "Won't Fix"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4728