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