Test Failed
Push — develop ( ff12cf...29d11a )
by Daniel
04:19
created

ComponentLocationRepository::findByDynamicPage()   A

Complexity

Conditions 4
Paths 3

Size

Total Lines 20
Code Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

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