Skip to content

Commit

Permalink
remove examples
Browse files Browse the repository at this point in the history
  • Loading branch information
skoro committed Sep 5, 2024
1 parent cd83cda commit 0e38bbc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 100 deletions.
25 changes: 0 additions & 25 deletions src/Repository/OrderProductRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,4 @@ public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderProduct::class);
}

// /**
// * @return Product[] Returns an array of Product objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('p')
// ->andWhere('p.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('p.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }

// public function findOneBySomeField($value): ?Product
// {
// return $this->createQueryBuilder('p')
// ->andWhere('p.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}
25 changes: 0 additions & 25 deletions src/Repository/OrderRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,4 @@ public function findByExternalOrderIdAndPaymentGateway(string $externalOrderId,
->getQuery()
->getOneOrNullResult();
}

// /**
// * @return Order[] Returns an array of Order objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('o')
// ->andWhere('o.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('o.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }

// public function findOneBySomeField($value): ?Order
// {
// return $this->createQueryBuilder('o')
// ->andWhere('o.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}
25 changes: 0 additions & 25 deletions src/Repository/PaymentProcessingRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,4 @@ public function findByOrderId(int $orderId): array
->getQuery()
->getResult();
}

// /**
// * @return PaymentProcessing[] Returns an array of PaymentProcessing objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('p')
// ->andWhere('p.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('p.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }

// public function findOneBySomeField($value): ?PaymentProcessing
// {
// return $this->createQueryBuilder('p')
// ->andWhere('p.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}
25 changes: 0 additions & 25 deletions src/Repository/SubscriberRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,29 +43,4 @@ public function getList(?OrderStatus $orderStatus = null): array

return $query->getQuery()->getResult();
}

// /**
// * @return Subscriber[] Returns an array of Subscriber objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('s')
// ->andWhere('s.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('s.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }

// public function findOneBySomeField($value): ?Subscriber
// {
// return $this->createQueryBuilder('s')
// ->andWhere('s.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}

0 comments on commit 0e38bbc

Please sign in to comment.