Skip to content

Kirby 6.0.1

Darkroom::factory()

Creates a new Darkroom instance for the given type/driver

Darkroom::factory(string $type, array $settings = []): Darkroom

Parameters

Name Type Default
$typerequired string no default value
$settings array []

Return type

Kirby\Image\Darkroom

Exceptions

Type Description
Exception

Parent class

Kirby\Image\Darkroom