Completed
Push — master ( 9e7daa...79826f )
by Mauro
02:15
created

MatchSheet::getIncidences()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace MauroMoreno\DataFactory\Entity;
4
5
/**
6
 * Class MatchSheet
7
 *
8
 * @package MauroMoreno\DataFactory\Entity
9
 */
10
class MatchSheet
11
{
12
13
    /**
14
     * @var int
15
     */
16
    private $id;
17
18
    /**
19
     * @var int
20
     */
21
    private $date;
22
23
    /**
24
     * @var string
25
     */
26
    private $day;
27
28
    /**
29
     * @var string
30
     */
31
    private $hour;
32
33
    /**
34
     * @var string
35
     */
36
    private $hour_status;
37
38
    /**
39
     * @var Incidence[]
40
     */
41
    private $incidences;
42
43
    /**
44
     * @var string
45
     */
46
    private $instance;
47
48
    /**
49
     * @var Status
50
     */
51
    private $status;
52
53
    /**
54
     * @var Team[]
55
     */
56
    private $teams;
57
58
    /**
59
     * @var string
60
     */
61
    private $type;
62
63
    /**
64
     * @var int
65
     */
66
    private $timezone;
67
68
    /**
69
     * @return int
70
     */
71
    public function getId(): int
72
    {
73
        return $this->id;
74
    }
75
76
    /**
77
     * @param int $id
78
     *
79
     * @return MatchSheet
80
     */
81
    public function setId(int $id): MatchSheet
82
    {
83
        $this->id = $id;
84
        return $this;
85
    }
86
87
    /**
88
     * @return int
89
     */
90
    public function getDate(): int
91
    {
92
        return $this->date;
93
    }
94
95
    /**
96
     * @param int $date
97
     *
98
     * @return MatchSheet
99
     */
100
    public function setDate(int $date): MatchSheet
101
    {
102
        $this->date = $date;
103
        return $this;
104
    }
105
106
    /**
107
     * @return string
108
     */
109
    public function getDay(): string
110
    {
111
        return $this->day;
112
    }
113
114
    /**
115
     * @param string $day
116
     *
117
     * @return MatchSheet
118
     */
119
    public function setDay(string $day): MatchSheet
120
    {
121
        $this->day = $day;
122
        return $this;
123
    }
124
125
    /**
126
     * @return string
127
     */
128
    public function getHour(): string
129
    {
130
        return $this->hour;
131
    }
132
133
    /**
134
     * @param string $hour
135
     *
136
     * @return MatchSheet
137
     */
138
    public function setHour(string $hour): MatchSheet
139
    {
140
        $this->hour = $hour;
141
        return $this;
142
    }
143
144
    /**
145
     * @return string
146
     */
147
    public function getHourStatus(): string
148
    {
149
        return $this->hour_status;
150
    }
151
152
    /**
153
     * @param string $hour_status
154
     *
155
     * @return MatchSheet
156
     */
157
    public function setHourStatus(string $hour_status): MatchSheet
158
    {
159
        $this->hour_status = $hour_status;
160
        return $this;
161
    }
162
163
    /**
164
     * @return Incidence[]
165
     */
166
    public function getIncidences(): array
167
    {
168
        return $this->incidences;
169
    }
170
171
    /**
172
     * @param \MauroMoreno\DataFactory\Entity\Incidence[] $incidences
173
     *
174
     * @return MatchSheet
175
     */
176
    public function setIncidences(array $incidences): MatchSheet
177
    {
178
        $this->incidences = $incidences;
179
        return $this;
180
    }
181
182
    /**
183
     * @return string
184
     */
185
    public function getInstance(): string
186
    {
187
        return $this->instance;
188
    }
189
190
    /**
191
     * @param string $instance
192
     *
193
     * @return MatchSheet
194
     */
195
    public function setInstance(string $instance): MatchSheet
196
    {
197
        $this->instance = $instance;
198
        return $this;
199
    }
200
201
    /**
202
     * @return Status
203
     */
204
    public function getStatus(): Status
205
    {
206
        return $this->status;
207
    }
208
209
    /**
210
     * @param Status $status
211
     *
212
     * @return MatchSheet
213
     */
214
    public function setStatus(Status $status): MatchSheet
215
    {
216
        $this->status = $status;
217
        return $this;
218
    }
219
220
    /**
221
     * @return Team[]
222
     */
223
    public function getTeams(): array
224
    {
225
        return $this->teams;
226
    }
227
228
    /**
229
     * @param \MauroMoreno\DataFactory\Entity\Team[] $teams
230
     *
231
     * @return MatchSheet
232
     */
233
    public function setTeams(array $teams): MatchSheet
234
    {
235
        $this->teams = $teams;
236
        return $this;
237
    }
238
239
    /**
240
     * @return int
241
     */
242
    public function getTimezone(): int
243
    {
244
        return $this->timezone;
245
    }
246
247
    /**
248
     * @param int $timezone
249
     *
250
     * @return MatchSheet
251
     */
252
    public function setTimezone(int $timezone): MatchSheet
253
    {
254
        $this->timezone = $timezone;
255
        return $this;
256
    }
257
258
    /**
259
     * @return string
260
     */
261
    public function getType(): string
262
    {
263
        return $this->type;
264
    }
265
266
    /**
267
     * @param string $type
268
     *
269
     * @return MatchSheet
270
     */
271
    public function setType(string $type): MatchSheet
272
    {
273
        $this->type = $type;
274
        return $this;
275
    }
276
277
}
278