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

[7.x] Add AsMorphPivot trait #34489

Closed
wants to merge 1 commit into from

Conversation

idsulik
Copy link

@idsulik idsulik commented Sep 23, 2020

This PR for 7.x #34488

The benefit of the trait is that you can add it to your custom model(which extends base Model, but not Pivot or MorphPivot model).
There is already exists AsPivot trait which is useful, so I add AsMorphPivot for morph pivot models

@taylorotwell
Copy link
Member

We aren't adding new features to 7.x.

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