Dynamic Relations Extension for Yii2