Total Complexity | 2 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
21 | class ImagineOptions extends AbstractOptions |
||
22 | { |
||
23 | |||
24 | /**#@+ |
||
25 | * Image library. |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | const LIB_GD = 'Gd'; |
||
30 | const LIB_IMAGICK = 'Imagick'; |
||
31 | const LIB_GMAGICK = 'Gmagick'; |
||
32 | |||
33 | /**#@-*/ |
||
34 | |||
35 | /** |
||
36 | * The image library to be used. |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $imageLib = self::LIB_GD; |
||
41 | |||
42 | /** |
||
43 | * @param string $imageLib |
||
44 | * |
||
45 | * @return self |
||
46 | */ |
||
47 | public function setImageLib($imageLib) |
||
48 | { |
||
49 | $this->imageLib = $imageLib; |
||
50 | |||
51 | return $this; |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * @return string |
||
56 | */ |
||
57 | public function getImageLib() |
||
60 | } |
||
61 | } |
||
62 |