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

[8.x] Pruning Models: Get the default path for the models from a method instead #40539

Merged
merged 2 commits into from
Jan 21, 2022

Conversation

sander3
Copy link
Contributor

@sander3 sander3 commented Jan 21, 2022

Hi there,

We want to use the "Pruning Models" feature but use a custom model namespace. The Artisan make command allow for overriding the used namespace by creating your own getDefaultNamespace method.

This PR adds the same functionality to the PruneCommand.

@sander3 sander3 changed the title Get the default path for the models from a method instead Pruning Models: Get the default path for the models from a method instead Jan 21, 2022
@taylorotwell taylorotwell merged commit e429bf5 into laravel:8.x Jan 21, 2022
@sander3
Copy link
Contributor Author

sander3 commented Jan 21, 2022

Thanks!

@GrahamCampbell GrahamCampbell changed the title Pruning Models: Get the default path for the models from a method instead [8.x] Pruning Models: Get the default path for the models from a method instead Jan 21, 2022
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