Пример #1
0
 /**
  * @param int $initiatorId
  * @param int $interlocutorId
  * @throws InvalidArgumentException
  * @return array<MAILBOX_BOL_Conversation>
  */
 public function findConversationList($initiatorId, $interlocutorId)
 {
     if (empty($initiatorId) || !isset($interlocutorId)) {
         throw new InvalidArgumentException("Not numeric params were provided! Numbers are expected!");
     }
     return $this->conversationDao->findConversationList($initiatorId, $interlocutorId);
 }