override for customize class in yii2 framework