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