예제 #1
0
 /**
  * Returns inbox conversations list by $userId
  *
  * @param int $userId
  * @param int $first
  * @param int $count
  * @throws InvalidArgumentException
  * @return array
  */
 public function getInboxConversationList($userId, $first, $count)
 {
     if (empty($userId) || !isset($first) || !isset($count)) {
         throw new InvalidArgumentException("Not numeric params were provided! Numbers are expected!");
     }
     return $this->conversationDao->getInboxConversationList($userId, $first, $count);
 }