Answer the question
In order to leave comments, you need to log in
How to get path from ControllerNamespace?
Good afternoon. You need to get the path to the controllers folder from the controllerNamespace parameter of the module.
$path = Yii::getAlias($module->controllerNamespace));
$path = $module->controllerNamespace;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question