Skip to content

Kirby 4.4.1

Database::instance()

Returns one of the started instances

Database::instance(?string $id = null): Kirby\Database\Database|null

Parameters

Name Type Default
$id string|null null

Return type

Kirby\Database\Database|null

Parent class

Kirby\Database\Database