Passed
Push — master ( d88203...94a809 )
by Julito
07:42
created

CAnnouncementRepository::__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
3
/* For licensing terms, see /license.txt */
4
5
namespace Chamilo\CourseBundle\Repository;
6
7
use Chamilo\CoreBundle\Repository\ResourceRepository;
8
use Chamilo\CourseBundle\Entity\CAnnouncement;
9
use Doctrine\Persistence\ManagerRegistry;
10
11
/**
12
 * Class CAnnouncementRepository.
13
 */
14
final class CAnnouncementRepository extends ResourceRepository
15
{
16
    public function __construct(ManagerRegistry $registry)
17
    {
18
        parent::__construct($registry, CAnnouncement::class);
19
    }
20
}
21