| Total Complexity | 6 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Version |
||
| 6 | { |
||
| 7 | /** @var string **/ |
||
| 8 | protected $id; |
||
| 9 | /** @var \DateTime **/ |
||
| 10 | protected $plannedAt; |
||
| 11 | /** @var \DateTime **/ |
||
| 12 | protected $releasedAt; |
||
| 13 | |||
| 14 | public function setId(string $id): self |
||
| 15 | { |
||
| 16 | $this->id = $id; |
||
| 17 | |||
| 18 | return $this; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getId(): string |
||
| 22 | { |
||
| 23 | return $this->id; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function setPlannedAt(\DateTime $plannedAt): self |
||
| 27 | { |
||
| 28 | $this->plannedAt = $plannedAt; |
||
| 29 | |||
| 30 | return $this; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getPlannedAt(): \DateTime |
||
| 36 | } |
||
| 37 | |||
| 38 | public function setReleasedAt(\DateTime $releasedAt): self |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getReleasedAt(): \DateTime |
||
| 48 | } |
||
| 49 | } |