threadsAll() публичный Метод

* retrieve all message thread with latest one message and sender and receiver user model
public threadsAll ( $user, $offset, $take )
$user
$offset
$take
Пример #1
0
 /**
  * fetch all inbox with soft deleted message for currently loggedin user with pagination.
  *
  * @param int $offset
  * @param int $take
  * @return array
  */
 public function getInboxAll($offset = 0, $take = 20)
 {
     return $this->conversation->threadsAll($this->authUserId, $offset, $take);
 }