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