Passed
Push — master ( 76abd2...ab5d59 )
by Julito
10:01
created

SessionRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/* For licensing terms, see /license.txt */
3
4
namespace Chamilo\CoreBundle\Repository;
5
6
use Chamilo\CoreBundle\Entity\Session;
7
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
8
use Doctrine\Common\Persistence\ManagerRegistry;
9
10
/**
11
 * SessionRepository.
12
 *
13
 * @package Chamilo\CoreBundle\Repository
14
 *
15
 * @author  Julio Montoya <[email protected]>
16
 */
17
class SessionRepository extends ServiceEntityRepository
18
{
19
    /**
20
     * SessionRepository constructor.
21
     *
22
     * @param ManagerRegistry $registry
23
     */
24
    public function __construct(ManagerRegistry $registry)
25
    {
26
        parent::__construct($registry, Session::class);
27
    }
28
}
29