Createing the model directory with command #43221
Unanswered
idanieldrew
asked this question in
Ideas
Replies: 1 comment
-
As I understand it, this is something Otwell wasn't really happy with. The current situation is a compromis. You could however propose a configuration option instead, where the default is no folder. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
When running
php artisan make:model Post
command,a directory is created in a app\Models ,but if a Model directory does not exist or has been deleted by mistake,the model created using the previous command is saved in a app folder and its namespace is also changed.Proposal:
Instead of this code in Illuminate\Foundation\Console\ModelMakeCommand.php
change to this state
thanks
Beta Was this translation helpful? Give feedback.
All reactions