Yii2 code customization