Reference

Guide

$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

Return type

Kirby\Cms\App

Usage

Source code

kirby/src/Cms/App.php#L347