UserRepository implements UserRepository
FinalYes
Table of Contents
Interfaces
Methods
- findByNodeAndSearchQuery() : UserCollection
- getById() : User|null
- getByIds() : UserCollection
- getUserCollectionByMemberCollection() : UserCollection
Methods
findByNodeAndSearchQuery()
public
findByNodeAndSearchQuery(Node $node, string $searchQuery) : UserCollection
Parameters
- $node : Node
- $searchQuery : string
Return values
UserCollectiongetById()
public
getById(int $userId) : User|null
Parameters
- $userId : int
Tags
Return values
User|nullgetByIds()
public
getByIds(array<string|int, mixed> $userIds) : UserCollection
Parameters
- $userIds : array<string|int, mixed>
Return values
UserCollectiongetUserCollectionByMemberCollection()
public
getUserCollectionByMemberCollection(NodeMemberCollection $nodeMemberCollection) : UserCollection
Parameters
- $nodeMemberCollection : NodeMemberCollection