-
-
Notifications
You must be signed in to change notification settings - Fork 439
Closed as not planned
Description
I was looking for a way to change the destination namespace for some makers.
I came up with this idea:
# config/packages/dev/maker.yaml
maker:
root_namespace: '%env(resolve:MAKER_NAMESPACE)%'Then in the command line:
$ MAKER_NAMESPACE=App\UI\Web php bin/console make:controller
$ MAKER_NAMESPACE=App\UI\Cli php bin/console make:command
$ MAKER_NAMESPACE=App\Domain php bin/console make:entityWDYT? Is there an other/better solution to achieve this?
Thanks
c33s, Siniliote, kermitsxb and abdeljabar
Metadata
Metadata
Assignees
Labels
No labels