| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | trait PictureTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @Assert\Length(max="200") |
||
| 9 | * @ORM\Column(name="picture", type="string", length=200, nullable=true) |
||
| 10 | */ |
||
| 11 | private ?string $picture; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param string|null $picture |
||
| 15 | */ |
||
| 16 | public function setPicture(string $picture = null): void |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return string|null |
||
| 23 | */ |
||
| 24 | public function getPicture(): ?string |
||
| 29 |