Total Complexity | 5 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 83.33% |
Changes | 0 |
1 | <?php |
||
5 | class JpegStrategy implements ImageTypeStrategyInterface |
||
6 | { |
||
7 | /** |
||
8 | * @param string $filename |
||
9 | * @return resource |
||
10 | */ |
||
11 | 4 | public function create($filename) |
|
14 | } |
||
15 | |||
16 | 1 | public function save($resource, $filename, $compression) |
|
19 | 1 | } |
|
20 | |||
21 | /** |
||
22 | * @return string |
||
23 | */ |
||
24 | 1 | public function getContentType() |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param $resource |
||
31 | */ |
||
32 | 3 | public function render($resource) |
|
35 | 3 | } |
|
36 | |||
37 | /** |
||
38 | * @return void |
||
39 | */ |
||
40 | public function handleTransparency($newImage, $image) |
||
46 | } |