Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ability to flush the EM partially #9485

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Feb 7, 2022

No description provided.

@derrabus derrabus added this to the 3.0.0 milestone Feb 7, 2022
public function flush($entity = null): void
{
$this->wrapped->flush($entity);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this method removed from this class but not from EntityManager?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parent class ObjectManagerDecorator already has an implementation of this method without parameters. We don't need to override it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants