| Total Complexity | 7 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class Problem |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @ORM\Id |
||
| 15 | * @ORM\GeneratedValue |
||
| 16 | * @ORM\Column(type="integer") |
||
| 17 | */ |
||
| 18 | private $id; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @ORM\Column(type="datetime") |
||
| 22 | */ |
||
| 23 | private $createdAt; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @ORM\Column(type="text") |
||
| 27 | */ |
||
| 28 | private $description; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @ORM\Column(type="string", length=255, nullable=true) |
||
| 32 | */ |
||
| 33 | private $uri; |
||
| 34 | |||
| 35 | public function getId(): ?int |
||
| 36 | { |
||
| 37 | return $this->id; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getCreatedAt(): ?\DateTimeInterface |
||
| 41 | { |
||
| 42 | return $this->createdAt; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function setCreatedAt(\DateTimeInterface $createdAt): self |
||
| 46 | { |
||
| 47 | $this->createdAt = $createdAt; |
||
| 48 | |||
| 49 | return $this; |
||
| 50 | } |
||
| 51 | |||
| 52 | public function getDescription(): ?string |
||
| 55 | } |
||
| 56 | |||
| 57 | public function setDescription(string $description): self |
||
| 58 | { |
||
| 59 | $this->description = $description; |
||
| 60 | |||
| 61 | return $this; |
||
| 62 | } |
||
| 63 | |||
| 64 | public function getUri(): ?string |
||
| 65 | { |
||
| 66 | return $this->uri; |
||
| 67 | } |
||
| 68 | |||
| 69 | public function setUri(?string $uri): self |
||
| 74 | } |
||
| 75 | } |
||
| 76 |