| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class Image |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @ORM\Id |
||
| 15 | * @ORM\GeneratedValue |
||
| 16 | * @ORM\Column(type="integer") |
||
| 17 | */ |
||
| 18 | private $id; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @ORM\Column(type="integer", nullable=true) |
||
| 22 | */ |
||
| 23 | private $prePersistedId; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @ORM\Column(type="string", length=255) |
||
| 27 | */ |
||
| 28 | private $path; |
||
| 29 | |||
| 30 | public function getId(): ?int |
||
| 31 | { |
||
| 32 | return $this->id; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getPrePersistedId(): ?int |
||
| 36 | { |
||
| 37 | return $this->prePersistedId; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function setPrePersistedId(?int $prePersistedId): void |
||
| 41 | { |
||
| 42 | $this->prePersistedId = $prePersistedId; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getPath(): ?string |
||
| 48 | } |
||
| 49 | |||
| 50 | public function setPath(?string $path): void |
||
| 53 | } |
||
| 54 | } |
||
| 55 |