Answer the question
In order to leave comments, you need to log in
How to use profile in Yii2::$app using dektrium/yii2-user?
There is a desire to use dektrium/yii2-user and if Yii2::$app->user we get user data from the user table. How to do the same for profile only, so that Yii2::$app->profile or Yii2::$app->user->profile get data from the profile table.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question