original_string: protected function isDonateAlreadyAdded(Request $request)
      {
          /** @var \PServerCore\Entity\Repository\DonateLog $donateEntity */
          $donateEntity = $this->entityManager->getRepository($this->collectionOptions->getEntityOptions()->getDonateLog());
  
          return $donateEntity->isDonateAlreadyAdded($request->getTransactionId(),
              $this->mapPaymentProvider2DonateType($request));
      }
code: protected function isDonateAlreadyAdded(Request $request)
      {
          /** @var \PServerCore\Entity\Repository\DonateLog $donateEntity */
          $donateEntity = $this->entityManager->getRepository($this->collectionOptions->getEntityOptions()->getDonateLog());
  
          return $donateEntity->isDonateAlreadyAdded($request->getTransactionId(),
              $this->mapPaymentProvider2DonateType($request));
      }
code_tokens: protected function isDonateAlreadyAdded ( Request $ request ) { /** @var \PServerCore\Entity\Repository\DonateLog $donateEntity */ $ donateEntity = $ this -> entityManager -> getRepository ( $ this -> collectionOptions -> getEntityOptions ( ) -> getDonateLog ( ) ) ; return $ donateEntity -> isDonateAlreadyAdded ( $ request -> getTransactionId ( ) , $ this -> mapPaymentProvider2DonateType ( $ request ) ) ; }
docstring: check is donate already added, if the provider ask, more than 1 time, this only works with a transactionId
  
  @param Request $request
  @return bool
docstring_tokens: check is donate already added if the provider ask more than 1 time this only works with a transactionId