Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| PaymentMethodRepository | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace App\Repository; |
| 6 | |
| 7 | use App\Entity\PaymentMethod; |
| 8 | use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; |
| 9 | use Doctrine\Persistence\ManagerRegistry; |
| 10 | |
| 11 | /** |
| 12 | * @method PaymentMethod|null find($id, $lockMode = null, $lockVersion = null) |
| 13 | * @method PaymentMethod|null findOneBy(array<string, mixed> $criteria, ?array<string, string> $orderBy = null) |
| 14 | * @method PaymentMethod[] findAll() |
| 15 | * @method PaymentMethod[] findBy(array<string, mixed> $criteria, ?array<string, string> $orderBy = null, $limit = null, $offset = null) |
| 16 | * |
| 17 | * @extends ServiceEntityRepository<PaymentMethod> |
| 18 | */ |
| 19 | class PaymentMethodRepository extends ServiceEntityRepository |
| 20 | { |
| 21 | public function __construct(ManagerRegistry $registry) |
| 22 | { |
| 23 | parent::__construct($registry, PaymentMethod::class); |
| 24 | } |
| 25 | } |