Skip to content

Kirby 4.4.1

new Template()

Creates a new template object

new Template(string $name, string $type = 'html', string $defaultType = 'html')

Parameters

Name Type Default
$name * string
$type string 'html'
$defaultType string 'html'

Parent class

Kirby\Template\Template