I'm working on a big project that forces me to split my controllers into multiple sub dirs.
I have this namespace and file structure as an example:
- MyApp\Controllers\User => app/controllers/user/UserController.php
- MyApp\Controllers\Product => app/controllers/customer/ListingController.php
And I would like to access them as:
I've looked on previous answers but I still can't get the loader and router to work together... :-/
Any ideas how should I set my loader and router?