Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait CoverTrait |
||
8 | { |
||
9 | /** |
||
10 | * @ORM\Column(type="string", nullable=true) |
||
11 | */ |
||
12 | private $coverFilename; |
||
13 | |||
14 | /** |
||
15 | * @ORM\Column(type="string", nullable=true) |
||
16 | */ |
||
17 | private $coverMimeType; |
||
18 | |||
19 | public function getCoverFilename(): ?string |
||
20 | { |
||
21 | return $this->coverFilename; |
||
22 | } |
||
23 | |||
24 | public function setCoverFilename(?string $coverFilename): self |
||
25 | { |
||
26 | $this->coverFilename = $coverFilename; |
||
27 | return $this; |
||
28 | } |
||
29 | |||
30 | public function getCoverMimeType(): ?string |
||
31 | { |
||
32 | return $this->coverMimeType; |
||
33 | } |
||
34 | |||
35 | public function setCoverMimeType(?string $coverMimeType): self |
||
39 | } |
||
40 | } |
||
41 |