Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 12 |
|
0.00% |
0 / 12 |
CRAP | |
0.00% |
0 / 1 |
CritereConformite | |
0.00% |
0 / 12 |
|
0.00% |
0 / 12 |
156 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getId | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getLabel | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setLabel | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
isJustificationObligatoire | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setIsJustificationObligatoire | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getTexteConformite | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setTexteConformite | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getTexteNonConformiteMineure | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setTexteNonConformiteMineure | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getTexteNonConformiteMajeur | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setTexteNonConformiteMajeur | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace App\Domain\AIPD\Model; |
6 | |
7 | use Ramsey\Uuid\Uuid; |
8 | use Ramsey\Uuid\UuidInterface; |
9 | |
10 | class CritereConformite |
11 | { |
12 | private UuidInterface $id; |
13 | private string $label; |
14 | private bool $isJustificationObligatoire; |
15 | private string $texteConformite; |
16 | private string $texteNonConformiteMineure; |
17 | private string $texteNonConformiteMajeur; |
18 | |
19 | public function __construct() |
20 | { |
21 | $this->id = Uuid::uuid4(); |
22 | } |
23 | |
24 | public function getId(): UuidInterface |
25 | { |
26 | return $this->id; |
27 | } |
28 | |
29 | public function getLabel(): string |
30 | { |
31 | return $this->label; |
32 | } |
33 | |
34 | public function setLabel(string $label): void |
35 | { |
36 | $this->label = $label; |
37 | } |
38 | |
39 | public function isJustificationObligatoire(): bool |
40 | { |
41 | return $this->isJustificationObligatoire; |
42 | } |
43 | |
44 | public function setIsJustificationObligatoire(bool $isJustificationObligatoire): void |
45 | { |
46 | $this->isJustificationObligatoire = $isJustificationObligatoire; |
47 | } |
48 | |
49 | public function getTexteConformite(): string |
50 | { |
51 | return $this->texteConformite; |
52 | } |
53 | |
54 | public function setTexteConformite(string $texteConformite): void |
55 | { |
56 | $this->texteConformite = $texteConformite; |
57 | } |
58 | |
59 | public function getTexteNonConformiteMineure(): string |
60 | { |
61 | return $this->texteNonConformiteMineure; |
62 | } |
63 | |
64 | public function setTexteNonConformiteMineure(string $texteNonConformiteMineure): void |
65 | { |
66 | $this->texteNonConformiteMineure = $texteNonConformiteMineure; |
67 | } |
68 | |
69 | public function getTexteNonConformiteMajeur(): string |
70 | { |
71 | return $this->texteNonConformiteMajeur; |
72 | } |
73 | |
74 | public function setTexteNonConformiteMajeur(string $texteNonConformiteMajeur): void |
75 | { |
76 | $this->texteNonConformiteMajeur = $texteNonConformiteMajeur; |
77 | } |
78 | } |