| 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) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | public function getImageLib() |
||
| 61 | |||
| 62 | |||
| 63 | } |