Passed
Push — master ( f7c169...528c62 )
by Angel Fernando Quiroz
08:03 queued 15s
created

XApiObjectRepository::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Chamilo\CoreBundle\Repository;
6
7
use Chamilo\CoreBundle\Entity\XApiObject;
8
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
9
use Doctrine\Persistence\ManagerRegistry;
10
11
/**
12
 * @extends ServiceEntityRepository<XApiObject>
13
 *
14
 * @method XApiObject|null find($id, $lockMode = null, $lockVersion = null)
15
 * @method XApiObject|null findOneBy(array $criteria, array $orderBy = null)
16
 * @method XApiObject[]    findAll()
17
 * @method XApiObject[]    findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
18
 */
19
class XApiObjectRepository extends ServiceEntityRepository
20
{
21
    public function __construct(ManagerRegistry $registry)
22
    {
23
        parent::__construct($registry, XApiObject::class);
24
    }
25
}
26