Total Complexity | 12 |
Total Lines | 93 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | class Street |
||
23 | { |
||
24 | use ToArray; |
||
|
|||
25 | |||
26 | /** |
||
27 | * @Serializer\Type("integer") |
||
28 | */ |
||
29 | private int $id; |
||
30 | |||
31 | /** |
||
32 | * @Serializer\Type("integer") |
||
33 | */ |
||
34 | private int $siteId; |
||
35 | |||
36 | /** |
||
37 | * @Serializer\Type("string") |
||
38 | */ |
||
39 | private string $type; |
||
40 | |||
41 | /** |
||
42 | * @Serializer\Type("string") |
||
43 | */ |
||
44 | private string $typeEn; |
||
45 | |||
46 | /** |
||
47 | * @Serializer\Type("string") |
||
48 | */ |
||
49 | private string $name; |
||
50 | |||
51 | /** |
||
52 | * @Serializer\Type("string") |
||
53 | */ |
||
54 | private string $nameEn; |
||
55 | |||
56 | |||
57 | public function getId(): int |
||
58 | { |
||
59 | return $this->id; |
||
60 | } |
||
61 | |||
62 | public function setId(int $id): void |
||
63 | { |
||
64 | $this->id = $id; |
||
65 | } |
||
66 | |||
67 | public function getSiteId(): int |
||
68 | { |
||
69 | return $this->siteId; |
||
70 | } |
||
71 | |||
72 | public function setSiteId(int $siteId): void |
||
73 | { |
||
74 | $this->siteId = $siteId; |
||
75 | } |
||
76 | |||
77 | public function getType(): string |
||
80 | } |
||
81 | 1 | ||
82 | public function setType(string $type): void |
||
85 | } |
||
86 | 2 | ||
87 | public function getTypeEn(): string |
||
88 | 2 | { |
|
89 | return $this->typeEn; |
||
90 | } |
||
91 | 1 | ||
92 | public function setTypeEn(string $typeEn): void |
||
93 | 1 | { |
|
94 | $this->typeEn = $typeEn; |
||
95 | } |
||
96 | 2 | ||
97 | public function getName(): string |
||
100 | } |
||
101 | 1 | ||
102 | public function setName(string $name): void |
||
103 | 1 | { |
|
104 | $this->name = $name; |
||
105 | } |
||
106 | 2 | ||
107 | public function getNameEn(): string |
||
108 | 2 | { |
|
109 | return $this->nameEn; |
||
110 | } |
||
111 | 1 | ||
112 | public function setNameEn(string $nameEn): void |
||
115 | } |
||
116 | } |
||
117 |