Méthode |
Description |
|
existsById ( $id ) |
*
check this given user is exists |
|
getMessagesAllById ( $conversationId, $offset, $take ) |
*
get all conversations with soft deleted message by given conversation id |
|
getMessagesById ( $conversationId, $offset, $take ) |
*
get all conversations by given conversation id |
|
getMessagesById ( $conversationId, $userId, $offset, $take ) |
*
get all conversations by given conversation id |
|
isExistsAmongTwoUsers ( $user1, $user2 ) |
*
check this given two users is already make a conversation |
|
isUserExists ( $conversationId, $userId ) |
*
check this given user is involved in this given $conversation |
|
takeModel ( ) |
*
this method is default method for repository package |
|
threads ( $user, $offset, $take ) |
*
retrieve all message thread without soft deleted message with latest one message and sender and receiver user model |
|
threads ( $user, $order, $offset, $take ) |
*
retrieve all message thread without soft deleted message with latest one message and
sender and receiver user model |
|
threadsAll ( $user, $offset, $take ) |
*
retrieve all message thread with latest one message and sender and receiver user model |
|