Yii 1 compatibility