| Total Complexity | 6 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class GifStrategy extends AbstractTransparentImage implements ImageTypeStrategyInterface |
||
| 6 | {
|
||
| 7 | /** |
||
| 8 | * @param string $filename |
||
| 9 | * @return resource |
||
| 10 | */ |
||
| 11 | 6 | public function create($filename) |
|
| 14 | } |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param resource $resource |
||
| 18 | * @param string $filename |
||
| 19 | * @param int $compression |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | 1 | public function save($resource, $filename, $compression) |
|
| 26 | 1 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 1 | public function getContentType() |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param $resource |
||
| 38 | */ |
||
| 39 | 5 | public function render($resource) |
|
| 42 | 5 | } |
|
| 43 | |||
| 44 | 3 | public function handleTransparency($newImage, $image) |
|
| 59 | } |