SavedListMemberRepositoryInterface
in
Interface SavedListMemberRepositoryInterface.
Tags
Table of Contents
Methods
- createMember() : Model
- getInvitedUserIds() : array<string|int, mixed>
- isSavedListMember() : bool
- removeMember() : bool
- viewSavedListMembers() : Collection
Methods
createMember()
public
createMember(User $user, int $listId) : Model
Parameters
- $user : User
- $listId : int
Return values
ModelgetInvitedUserIds()
public
getInvitedUserIds(int $collectionId) : array<string|int, mixed>
Parameters
- $collectionId : int
Return values
array<string|int, mixed>isSavedListMember()
public
isSavedListMember(User $context, int $listId) : bool
Parameters
- $context : User
- $listId : int
Return values
boolremoveMember()
public
removeMember(User $context, int $listId, int $userId) : bool
Parameters
- $context : User
- $listId : int
- $userId : int
Return values
boolviewSavedListMembers()
public
viewSavedListMembers(User $context, int $listId) : Collection
Parameters
- $context : User
- $listId : int