Total Complexity | 8 |
Total Lines | 57 |
Duplicated Lines | 0 % |
Coverage | 90% |
Changes | 0 |
1 | <?php |
||
5 | abstract class Sprint |
||
6 | { |
||
7 | /** @var int **/ |
||
8 | protected $id; |
||
9 | /** @var string **/ |
||
10 | protected $demoUrl; |
||
11 | /** @var \DateTime **/ |
||
12 | protected $beginAt; |
||
13 | /** @var \DateTime **/ |
||
14 | protected $endedAt; |
||
15 | |||
16 | 3 | public function setId(int $id): self |
|
17 | { |
||
18 | 3 | $this->id = $id; |
|
19 | |||
20 | 3 | return $this; |
|
21 | } |
||
22 | |||
23 | 2 | public function getId(): int |
|
26 | } |
||
27 | |||
28 | 4 | public function setDemoUrl(string $demoUrl): self |
|
29 | { |
||
30 | 4 | $this->demoUrl = $demoUrl; |
|
31 | |||
32 | 4 | return $this; |
|
33 | } |
||
34 | |||
35 | public function getDemoUrl(): ?string |
||
36 | { |
||
37 | return $this->demoUrl; |
||
38 | } |
||
39 | |||
40 | 4 | public function setBeginAt(\DateTime $beginAt): self |
|
45 | } |
||
46 | |||
47 | 2 | public function getBeginAt(): \DateTime |
|
50 | } |
||
51 | |||
52 | 4 | public function setEndedAt(\DateTime $endedAt): self |
|
57 | } |
||
58 | |||
59 | 2 | public function getEndedAt(): \DateTime |
|
62 | } |
||
63 | } |