yii2 with doctrine

Anyone know how to use doctrine with yii2?

Same as without Yii, I guess. What’s the problem with it?