isPost in yii 2 code example Example: yii2 get value from params $value = Yii::$app->params['nameParameter'];