How can I get current controller in yii2

120

Yii::$app->controller->id;

Comments

Submit
0 Comments