registration and get user info

This commit is contained in:
apuc committed 2023-10-11 23:24:46 +03:00
1 parent 75aae8e4df
commit 003c671156
4 files changed
+76 -27

No files matched your search

+8
View File
@@ -68,6 +68,14 @@ class ProfileService
return $searchModel->byParams();
}
public static function getProfileById($id): ?array
{
$searchModel = new ProfileSearchForm();
$searchModel->id = $id;
return $searchModel->byId();
}
/**
* @throws ServerErrorHttpException
*/