Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
20 | class Locale |
||
21 | { |
||
22 | use HydratorTrait; |
||
23 | |||
24 | /** @var string */ |
||
25 | protected $name; |
||
26 | /** @var string */ |
||
27 | protected $locale; |
||
28 | |||
29 | |||
30 | /** |
||
31 | * Locale constructor. |
||
32 | * |
||
33 | */ |
||
34 | 1 | protected function __construct() |
|
36 | 1 | } |
|
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | 1 | public function getName(): string |
|
42 | { |
||
43 | 1 | return $this->name; |
|
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | 1 | public function getLocale(): string |
|
52 | } |
||
53 | } |
||
54 |