Friday, 18 November 2016

how to define variable in yii2 param



Set variable:

Yii::$app->params['abc'] = hemant;


Get variable:
echo Yii::$app->params['abc'];


how to define variable in yii2 param

No comments:

Post a Comment