Skip to content

Kirby 5.1.3

$database->trace()

Adds a value to the db trace and also returns the entire trace if nothing is specified

$database->trace(array|null $data = null): array

Parameters

Name Type Default
$data arrayornull null

Return type

array

This method modifies the existing $database object it is applied to and returns it again.

Parent class

Kirby\Database\Database