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

[5.4] Use the custom pivot model in MorphToMany::newPivot #17862

Merged
merged 1 commit into from
Feb 10, 2017
Merged

[5.4] Use the custom pivot model in MorphToMany::newPivot #17862

merged 1 commit into from
Feb 10, 2017

Conversation

ntzm
Copy link
Contributor

@ntzm ntzm commented Feb 10, 2017

Allows the developer to use a custom pivot model (extending MorphPivot).

I want to add tests but I'm not exactly sure where I should put them and whether they should be integration or unit tests? Some guidance would be appreciated :)

@taylorotwell taylorotwell merged commit 8f3b091 into laravel:5.4 Feb 10, 2017
@ntzm ntzm deleted the custom-morph-pivot-model branch February 10, 2017 14:50
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.

2 participants