lumen-generators
lumen-generators copied to clipboard
const MODEL doesn't respect namespace from --path option
I ran into this when creating resources from a resource file, though it may happen with the other commands.
If I run php artisan wn:resources [file] --path="app/Models"
I would expect the models to be put into a Models folder (which happens), and the const MODEL
value in the associated controller to be set to "App\Model\[model]"
(which does not happen, it remains as "App\[model]"
).