Special structure and its mapping

5 years ago

czm4rty
Member | 29
+
0
-

Hi. I'm trying to implement an application using following folder structure:

- app
  - backend
    - modules
      - users
        - templates
        - presenters
          - DefaultPresenter
      - news
  - frontend
  - components

Is it possible to use this structure? I can't get working and display the DefaultPresenter with this namespace: App\Backend\Modules\Users\Presenters

Could you help me figure out what route and mapping in config should I use? Or is there any better way? I have read through this thread but I don't know if this is the case to use it and eventually how?
Thank you.