Yii2 extended classes