/** * Returns conversation info * * @param int $conversationId * @throws InvalidArgumentException * @return MAILBOX_BOL_Conversation */ public function getConversation($conversationId) { if (empty($conversationId)) { throw new InvalidArgumentException("Not numeric params were provided! Numbers are expected!"); } return $this->conversationDao->findById($conversationId); }