Darkroom::factory()
Creates a new Darkroom instance for the given type/driver
Darkroom::factory(string $type, array $settings = [ ]): Kirby\Image\Darkroom
Parameters
Name | Type | Default |
---|---|---|
$typerequired | string |
no default value |
$settings | array |
[ ]
|
Return type
Exceptions
Type | Description |
---|---|
Exception |