Total Complexity | 4 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
5 | class MissingTranslationEvent |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | private $category; |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $language; |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $message; |
||
19 | |||
20 | public function __construct(string $category, string $language, string $message) |
||
21 | { |
||
22 | $this->category = $category; |
||
23 | $this->language = $language; |
||
24 | $this->message = $message; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @return string |
||
29 | */ |
||
30 | public function getCategory(): string |
||
31 | { |
||
32 | return $this->category; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getLanguage(): string |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | public function getMessage(): string |
||
51 |