FormService   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
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