yii2 get request parameter access control code example Example: yii2 get value from params $value = Yii::$app->params['nameParameter'];