$kirby->clone()
Creates an instance with the same initial properties
$kirby->clone(array $props = [ ], bool $setInstance = true): Kirby\Cms\App
Parameters
Name | Type | Default | Description |
---|---|---|---|
$props |
array |
[ ] |
|
$setInstance |
bool |
true |
If false, the instance won't be set globally |