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