FormService::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
3
namespace App\Service;
4
5
use App\Entity\Form;
6
use Doctrine\ORM\EntityManagerInterface;
7
use Ds\Component\Entity\Service\EntityService;
8
9
/**
10
 * Class FormService
11
 */
12
final class FormService extends EntityService
13
{
14
    /**
15
     * Constructor
16
     *
17
     * @param \Doctrine\ORM\EntityManagerInterface $manager
18
     * @param string $entity
19
     */
20
    public function __construct(EntityManagerInterface $manager, string $entity = Form::class)
21
    {
22
        parent::__construct($manager, $entity);
23
    }
24
}
25