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

CAnnouncementRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
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
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