1 | <?php |
||
10 | class Team |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var int |
||
15 | */ |
||
16 | public $id; |
||
17 | |||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | public $country_id; |
||
22 | |||
23 | /** |
||
24 | * @var Incidence[] |
||
25 | */ |
||
26 | public $incidences; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | public $goals; |
||
32 | |||
33 | /** |
||
34 | * @var int |
||
35 | */ |
||
36 | public $penalty_goals; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | public $service; |
||
42 | |||
43 | /** |
||
44 | * @var string |
||
45 | */ |
||
46 | public $short_name; |
||
47 | |||
48 | /** |
||
49 | * @return int |
||
50 | */ |
||
51 | 1 | public function getId(): int |
|
55 | |||
56 | /** |
||
57 | * @param int $id |
||
58 | * |
||
59 | * @return Team |
||
60 | */ |
||
61 | 3 | public function setId(int $id): Team |
|
66 | |||
67 | /** |
||
68 | * @return int |
||
69 | */ |
||
70 | 1 | public function getCountryId(): int |
|
74 | |||
75 | /** |
||
76 | * @param int $country_id |
||
77 | * |
||
78 | * @return Team |
||
79 | */ |
||
80 | 3 | public function setCountryId(int $country_id): Team |
|
85 | |||
86 | /** |
||
87 | * @return int |
||
88 | */ |
||
89 | 1 | public function getGoals(): int |
|
93 | |||
94 | /** |
||
95 | * @param int $goals |
||
96 | * |
||
97 | * @return Team |
||
98 | */ |
||
99 | 2 | public function setGoals(int $goals): Team |
|
104 | |||
105 | /** |
||
106 | * @return Incidence[] |
||
107 | */ |
||
108 | public function getIncidences() |
||
112 | |||
113 | /** |
||
114 | * @param $incidences |
||
115 | * |
||
116 | * @return Team |
||
117 | */ |
||
118 | 2 | public function setIncidences($incidences) |
|
123 | |||
124 | /** |
||
125 | * @return int |
||
126 | */ |
||
127 | 1 | public function getPenaltyGoals(): int |
|
131 | |||
132 | /** |
||
133 | * @param int $penalty_goals |
||
134 | * |
||
135 | * @return Team |
||
136 | */ |
||
137 | 2 | public function setPenaltyGoals(int $penalty_goals): Team |
|
142 | |||
143 | /** |
||
144 | * @return string |
||
145 | */ |
||
146 | 1 | public function getService(): string |
|
150 | |||
151 | /** |
||
152 | * @param string $service |
||
153 | * |
||
154 | * @return Team |
||
155 | */ |
||
156 | 2 | public function setService(string $service): Team |
|
161 | |||
162 | /** |
||
163 | * @return string |
||
164 | */ |
||
165 | 1 | public function getShortName(): string |
|
169 | |||
170 | /** |
||
171 | * @param string $short_name |
||
172 | * |
||
173 | * @return Team |
||
174 | */ |
||
175 | 3 | public function setShortName(string $short_name): Team |
|
180 | |||
181 | } |
||
182 |