inherit yii2 behavior from yii1

Hi everyone.

We are rewriting our Yii1 application in Yii2.

We decided to rewrite some core components like behaviors, models and logic components in Yii2 and we would like to integrate them in our Yii application.

In this way we could progressively migrate the old core to the new one.

Anyway we are trying to figure out how to inherit simple Yii2 behavior component from Yii1.

Does anyone know how to do it?

thanks in advance