GuestRepository   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 7
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
namespace App\Guests\Repository;
6
7
use App\Guests\Entity\GuestSession;
8
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
9
use Symfony\Bridge\Doctrine\RegistryInterface;
10
11
/**
12
 * @method GuestSession|null find($id, $lockMode = null, $lockVersion = null)
13
 * @method GuestSession|null findOneBy(array $criteria, array $orderBy = null)
14
 * @method GuestSession[]    findAll()
15
 * @method GuestSession[]    findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
16
 */
17
class GuestRepository extends ServiceEntityRepository
18
{
19 36
    public function __construct(RegistryInterface $registry)
20
    {
21 36
        parent::__construct($registry, GuestSession::class);
22 36
    }
23
}
24