Open
Description
When you have set a psr-4 path for the autoloader in composer.json the make:entity
ignores this and always tries to create the file at src/Entity
.
Eg. if you have this in your composer.json so that the classes in Example\...
namespace are stored in src/Example/...
the make:entity always generates the entity file at src/Entity
instead of src/Example/Entity
.
"autoload": {
"psr-4": {
"Example\\": "src/Example"
}
},
For make:controller
this seem to work correct as it does not rely on hardcoded paths like in MakeEntity.php