Skip to content

Kirby 6.0.1

Stat::from()

Stat::from(array|string $input, ModelWithContent|null $model = null): Stat

Parameters

Name Type Default
$inputrequired arrayorstring no default value
$model Kirby\Cms\ModelWithContentornull null

Return type

Kirby\Panel\Ui\Stat

Parent class

Kirby\Panel\Ui\Stat