Kirby::instance()
Returns the current App instance
Parameters
Name | Type | Default | Description |
---|---|---|---|
$instance | self |null |
null |
|
$lazy | bool |
false |
If true , the instance is only returned if already existing |
Return type
Kirby\Cms\App
|null