I have more than 50 menus which I need to create custom. as per the module structure, we need to create routing.yml in root folder. but I want to do something like this below:
myModule - products(folder) - routing.yml - src(folder) - productController - brands(folder) - routing.yml - src(folder) - brandsController.php - myModule.info.yml - myModule.module
is it way to do achive something like this.
I just want to make code seperation and avoid to add all routes in routing.yml