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

SessionRepository::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
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