making changes to Yii 2 code for faster app generation