Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 14.29% |
Changes | 0 |
1 | <?php |
||
15 | class Configuration extends AbstractModel |
||
16 | { |
||
17 | use HasDescription; |
||
18 | |||
19 | /** |
||
20 | * @ORM\Column(type="text") |
||
21 | */ |
||
22 | private string $value = ''; |
||
23 | |||
24 | 3 | public function __construct( |
|
25 | /** |
||
26 | * @ORM\Column(name="`key`", type="string", length=191, unique=true) |
||
27 | */ |
||
28 | private string $key = '' |
||
29 | ) { |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Get key. |
||
34 | */ |
||
35 | public function getKey(): string |
||
36 | { |
||
37 | return $this->key; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Set value. |
||
42 | */ |
||
43 | public function setValue(string $value): void |
||
44 | { |
||
45 | $this->value = $value; |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Get value. |
||
50 | */ |
||
51 | public function getValue(): string |
||
54 | } |
||
55 | } |
||
56 |