Skip to content

Kirby 4.4.1

new Component()

Creates a new component for the given type

new Component(string $type, array $attrs = [ ])

Parameters

Name Type Default
$type * string
$attrs array [ ]

Parent class

Kirby\Toolkit\Component