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

Lifecycle callbacks should receive event arguments #1222

Merged
merged 1 commit into from
Dec 14, 2015

Conversation

malarzm
Copy link
Member

@malarzm malarzm commented Aug 29, 2015

Closes #902

This PR contains a tiny BC break - before preLoad lifecycle callback received $data by reference directly, now it receives a PreLoadEventArgs as it should BUT I wouldn't count it as BC break though - that event wasn't even documented.

@malarzm malarzm added this to the 1.x milestone Aug 29, 2015
@malarzm malarzm force-pushed the gh902 branch 3 times, most recently from a3e42f7 to b48417f Compare August 29, 2015 17:49
@malarzm malarzm modified the milestones: 1.x, 1.1 Oct 31, 2015
@malarzm
Copy link
Member Author

malarzm commented Dec 14, 2015

Rebased atop current master branch. FWIW Doctrine Extensions are not using preLoad event and brief googling (first 5 pages for "doctrine preload event") haven't brought any results (neither did adding "mongodb" to search query) - let's merge this once tests pass

malarzm added a commit that referenced this pull request Dec 14, 2015
Lifecycle callbacks should receive event arguments
@malarzm malarzm merged commit 7396c27 into doctrine:master Dec 14, 2015
@malarzm malarzm deleted the gh902 branch December 14, 2015 23:08
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.

1 participant