Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class ImagineMetadata |
||
22 | { |
||
23 | private ArrayCollection $filters; |
||
24 | |||
25 | public function __construct() |
||
28 | } |
||
29 | |||
30 | public function addFilter(string $key, ImageMetadata $imageMetadata): self |
||
31 | { |
||
32 | $this->filters->set($key, $imageMetadata); |
||
33 | |||
34 | return $this; |
||
35 | } |
||
36 | |||
37 | public function removeFilter(string $key): self |
||
42 | } |
||
43 | |||
44 | public function setFilters(array $filters) |
||
49 | } |
||
50 | } |
||
51 | |||
52 | public function getFilters() |
||
57 |