Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| Images | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace Config; |
| 4 | |
| 5 | use CodeIgniter\Config\BaseConfig; |
| 6 | use CodeIgniter\Images\Handlers\GDHandler; |
| 7 | use CodeIgniter\Images\Handlers\ImageMagickHandler; |
| 8 | |
| 9 | class Images extends BaseConfig |
| 10 | { |
| 11 | /** |
| 12 | * Default handler used if no other handler is specified. |
| 13 | */ |
| 14 | public string $defaultHandler = 'gd'; |
| 15 | |
| 16 | /** |
| 17 | * The path to the image library. |
| 18 | * Required for ImageMagick, GraphicsMagick, or NetPBM. |
| 19 | * |
| 20 | * @deprecated 4.7.0 No longer used. |
| 21 | */ |
| 22 | public string $libraryPath = '/usr/local/bin/convert'; |
| 23 | |
| 24 | /** |
| 25 | * The available handler classes. |
| 26 | * |
| 27 | * @var array<string, string> |
| 28 | */ |
| 29 | public array $handlers = [ |
| 30 | 'gd' => GDHandler::class, |
| 31 | 'imagick' => ImageMagickHandler::class, |
| 32 | ]; |
| 33 | } |