Skip to content

Conversation

@carferdas
Copy link

Added a new method dispatchPreFlushEvent to align with existing methods like dispatchOnFlushEvent and dispatchPostFlushEvent.

Removed a redundant call to $this->em->getConnection() since the connection is already obtained earlier, avoiding unnecessary duplicate calls.

@carferdas carferdas changed the title refactor: add dispatchPreFlushEvent method and avoid calling getConnection twice refactor: add dispatchPreFlushEvent method and avoid calling getConnection twice Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant