You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello All,
This is a well thought of bundle, and I would hate to add complexity to it.
We have the option to change the namespace through creating a file
# config/packages/dev/maker.yaml
# create this file if you need to configure anything
maker:
# tell MakerBundle that all of your classes live in an
# Acme namespace, instead of the default App
# (e.g. Acme\Entity\Article, Acme\Command\MyCommand, etc)
root_namespace: 'Acme'
I was wondering if we can do the same for route_name prefix.
Let's say I'm building and all route names comeback with app_, but as the complexity of your app grows you might want to have different route_name prefix instead of longer route names. eg. instead of app_admin_index you would want admin_index.
So I was wondering if we can introduce some sort of option through the command or the yaml file to do so.
Currently I just override the make:controller bundle. But I think we can simple change Str
Hello All,
This is a well thought of bundle, and I would hate to add complexity to it.
We have the option to change the namespace through creating a file
I was wondering if we can do the same for route_name prefix.
Let's say I'm building and all route names comeback with app_, but as the complexity of your app grows you might want to have different route_name prefix instead of longer route names. eg. instead of app_admin_index you would want admin_index.
So I was wondering if we can introduce some sort of option through the command or the yaml file to do so.
Currently I just override the make:controller bundle. But I think we can simple change Str
maker-bundle/src/Str.php
Line 101 in a1733f8
To have app_ guessed from parameters with a default of 'app_'
The text was updated successfully, but these errors were encountered: