Started integration between yii and doctrine