Darkroom::factory()
Creates a new Darkroom instance for the given type/driver
Darkroom::factory(string $type, array $settings = [ ]): mixed
Parameters
Name | Type | Default |
---|---|---|
$type * | string |
– |
$settings | array |
[ ] |
Return type
mixed
Exceptions
Type | Description |
---|---|
Exception |