ReservationRepository   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 9
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the zibios/sharep.
7
 *
8
 * (c) Zbigniew Ślązak
9
 */
10
11
namespace App\Repository\Entity\Parking;
12
13
use App\Entity\Parking\Reservation;
14
use App\Repository\Traits\SaveEntityTrait;
15
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
16
use Doctrine\Common\Persistence\ManagerRegistry;
17
18
class ReservationRepository extends ServiceEntityRepository
19
{
20
    use SaveEntityTrait;
21
22 1
    public function __construct(ManagerRegistry $registry)
23
    {
24 1
        parent::__construct($registry, Reservation::class);
25 1
    }
26
}
27