Answer the question
In order to leave comments, you need to log in
How to call controller in Yii2& controller?
Can't call controller in controller. Is it even possible? I really need.
Answer the question
In order to leave comments, you need to log in
You need the runAction()
method
Write: \Yii::$app->runAction("controllerId/actionId")
Or use any route you need.
I really need.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question