Kirby::instance()
Returns the current App instance
Kirby::instance(self $instance = null, bool $lazy = false): self|null
Parameters
Name | Type | Default | Description |
---|---|---|---|
$instance |
Kirby\Cms\App |
null |
|
$lazy |
bool |
false |
If |
Return type
self
|null