Skip to content

Entity listeners: what's the difference between passed object and event arguments object #10922

Answered by ghost
ToshY asked this question in Support Questions
Discussion options

You must be logged in to vote

Yes, they are the same. You can see it in UnitOfWork::executeUpdates where the event is dispatched or just check it yourself with === comparison. I don't know why this is that way but there might be no reason and this is still fine.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ToshY
Comment options

Answer selected by ToshY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant