Single table inheritance in Yii2

Hello,

today I found recipe about to implement Single table inheritance in Yii1 - STI

but it is way to port this recipe to Yii2 ?

thanks a lot, Sam !

:)