Total Complexity | 8 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class TranslationValue implements TranslationValueInterface |
||
8 | { |
||
9 | private ?string $localeCode = null; |
||
10 | |||
11 | private ?string $value = null; |
||
12 | |||
13 | private ?string $theme = null; |
||
14 | |||
15 | private ?TranslationInterface $translation = null; |
||
16 | |||
17 | public function getLocaleCode(): ?string |
||
18 | { |
||
19 | return $this->localeCode; |
||
20 | } |
||
21 | |||
22 | public function setLocaleCode(?string $localeCode): void |
||
23 | { |
||
24 | $this->localeCode = $localeCode; |
||
25 | } |
||
26 | |||
27 | public function getValue(): ?string |
||
28 | { |
||
29 | return $this->value; |
||
30 | } |
||
31 | |||
32 | public function setValue(?string $value): void |
||
33 | { |
||
34 | $this->value = $value; |
||
35 | } |
||
36 | |||
37 | public function getTheme(): ?string |
||
38 | { |
||
39 | return $this->theme; |
||
40 | } |
||
41 | |||
42 | public function setTheme(?string $theme): void |
||
43 | { |
||
44 | $this->theme = $theme; |
||
45 | } |
||
46 | |||
47 | public function getTranslation(): ?TranslationInterface |
||
50 | } |
||
51 | |||
52 | public function setTranslation(?TranslationInterface $translation): void |
||
55 | } |
||
56 | } |
||
57 |