Test Failed
Push — develop ( 92c10d...ff12cf )
by Daniel
05:05
created

LayoutRepository::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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