Special Presenter Mapping
Notice: This thread is very old.
- czm4rty
- Member | 29
Hello,
My intention is to use mapping like below.
mapping:
Forum: App1\Forum\AdminModule\*Presenter
Forum: App2\Forum\FrontModule\*Presenter
I'm using composer for my project. App1 namespace is located in vendor folder and the other namespace App2 should be in my own folder (i.e. /app).
The links should look like this:
Forum:Front:FooPresenter:someview
Forum:Admin:Foo2Presenter:otherview
Is there any workaround to achieve such mapping that can have multiple same keys? (I know I can use different names but I would have to change all links which is not acceptable for my project)? I don't want to rewrite the methods that implement this feature but if there is no other way – have anybody done it before?
Thank you