Hi. I'm trying to test Yii2 with Doctrine2. Doctrine not a default Yii ORM, so I ready to fix it. Now I think I need to extend Doctrine2 module for this.
I have implemented Yii2 module with DoctrineProvider. Doctrine2 correctly call Yii2::_getEntityManager(), but Yii::$app is null - yii2 nit ititialized yet! Symfony module initialize kernel in _initialize(), but yii2 not (it seems that Yii2 doesn't expect such behaviour).
How i can init yii2? Thx.