/**
  * @param string[] $usernames
  *
  * @return ConfirmedMentionDto[]
  */
 public function fetchMentions(array $usernames)
 {
     $mentions = $this->mentionRepository->getMentionsByUsernames($usernames);
     $confirmedMentionsDto = [];
     foreach ($mentions as $mention) {
         $confirmedMentionDto = new ConfirmedMentionDto();
         $confirmedMentionDto->userId = $mention->getUserId();
         $confirmedMentionDto->username = $mention->getUsername();
         $confirmedMentionsDto[] = $confirmedMentionDto;
     }
     return $confirmedMentionsDto;
 }