| Total Complexity | 8 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ProjectNote |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var int |
||
| 16 | */ |
||
| 17 | protected $id; |
||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $description; |
||
| 22 | /** |
||
| 23 | * @var \DateTime |
||
| 24 | */ |
||
| 25 | protected $date; |
||
| 26 | /** |
||
| 27 | * @var int |
||
| 28 | */ |
||
| 29 | protected $projectId; |
||
| 30 | |||
| 31 | public function getId(): int |
||
| 32 | { |
||
| 33 | return $this->id; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function setId(int $id): self |
||
| 37 | { |
||
| 38 | $this->id = $id; |
||
| 39 | |||
| 40 | return $this; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getDescription(): string |
||
| 46 | } |
||
| 47 | |||
| 48 | public function setDescription(string $description): self |
||
| 49 | { |
||
| 50 | $this->description = $description; |
||
| 51 | |||
| 52 | return $this; |
||
| 53 | } |
||
| 54 | |||
| 55 | public function getDate(): \DateTime |
||
| 56 | { |
||
| 57 | return $this->date; |
||
| 58 | } |
||
| 59 | |||
| 60 | public function setDate(\DateTime $date): self |
||
| 65 | } |
||
| 66 | |||
| 67 | public function getProjectId(): int |
||
| 70 | } |
||
| 71 | |||
| 72 | public function setProjectId(int $projectId): self |
||
| 77 | } |
||
| 78 | } |
||
| 79 |