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

[12.x] Extract creating subscription to a separate method #1124

Merged
merged 1 commit into from
Apr 12, 2021

Conversation

driesvints
Copy link
Member

This PR extracts the portion that creates the Eloquent Subscription model and the SubscriptionItem models into a separate method. This is useful if people want to overwrite this to, for example, add extra fields upon creation.

Implements #1122

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