Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | trait FileTrait |
||
14 | { |
||
15 | /** |
||
16 | * @ORM\Column(type="string", nullable=false) |
||
17 | * @Groups({"component"}) |
||
18 | * @var null|string |
||
19 | */ |
||
20 | protected $filePath; |
||
21 | |||
22 | /** |
||
23 | * @return null|string |
||
24 | */ |
||
25 | 3 | public function getFilePath(): ?string |
|
26 | { |
||
27 | 3 | return $this->filePath; |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param null|string $filePath |
||
32 | */ |
||
33 | 3 | public function setFilePath(?string $filePath): void |
|
34 | { |
||
35 | 3 | $this->filePath = $filePath; |
|
36 | 3 | } |
|
37 | |||
38 | 1 | public static function getImagineFilters(): array |
|
43 | ]; |
||
44 | } |
||
45 | } |
||
46 |