PublicProfileService
in package
Application service for managing public profiles.
Table of Contents
Properties
Methods
- __construct() : mixed
- getProfile() : PublicProfile
- Load a public profile for the given user.
- updateProfile() : PublicProfile
- Update and persist a public profile.
Properties
$repository
private
PublicProfileRepository
$repository
Methods
__construct()
public
__construct(PublicProfileRepository $repository) : mixed
Parameters
- $repository : PublicProfileRepository
getProfile()
Load a public profile for the given user.
public
getProfile(WebviepUserId $userId) : PublicProfile
Parameters
- $userId : WebviepUserId
Return values
PublicProfileupdateProfile()
Update and persist a public profile.
public
updateProfile(WebviepUserId $userId, PublicProfileData $data) : PublicProfile
Parameters
- $userId : WebviepUserId
- $data : PublicProfileData