| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| 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 | public function getFilePath(): ?string |
||
| 25 | { |
||
| 26 | return $this->filePath; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param null|string $filePath |
||
| 31 | */ |
||
| 32 | public function setFilePath(?string $filePath): void |
||
| 33 | { |
||
| 34 | $this->filePath = $filePath; |
||
| 35 | } |
||
| 36 | |||
| 37 | public static function getImagineFilters(): array |
||
| 42 | ]; |
||
| 43 | } |
||
| 44 | } |
||
| 45 |