[ 'class' => 'yii\web\ErrorAction', ], 'errorStraight' => 'yii\web\ErrorAction', ]; } public function actionFirst() { return true; } public function actionSecond() { return true; } public function someMethod() { return true; } }