I have a module in my frontend app that I want to use in my console app as well.
The namespace I’m using in the module code is prefixed with: app\modules\api\v1
I can’t access the module code from within a console app because “app” refers to console, not frontend.
What do you recommend?
-
Should I change the namespace to "frontend" instead of "app"?
-
Should I move the module to common and change the namespace to "common"?