WordpressPublicProfileRepository
in package
implements
PublicProfileRepository
Store public profile data on WordPress users.
Table of Contents
Interfaces
- PublicProfileRepository
- Repository interface for public profiles.
Constants
- META_KEY = '_webviep_public_profile'
Methods
- get() : PublicProfile
- Load the public profile for a user.
- save() : void
- Persist the public profile for a user.
Constants
META_KEY
private
mixed
META_KEY
= '_webviep_public_profile'
Methods
get()
Load the public profile for a user.
public
get(WebviepUserId $userId) : PublicProfile
Parameters
- $userId : WebviepUserId
-
Domain user id.
Return values
PublicProfilesave()
Persist the public profile for a user.
public
save(PublicProfile $profile) : void
Parameters
- $profile : PublicProfile
-
Profile aggregate.