Skip to content

Kirby 6.0.1

new Stats()

new Stats(string $component = 'k-stats', ModelWithContent|null $model = null, array $reports = [], string $size = 'large')

Parameters

Name Type Default
$component string 'k-stats'
$model Kirby\Cms\ModelWithContentornull null
$reports array []
$size string 'large'

Parent class

Kirby\Panel\Ui\Stats