$kirby->template()
Uses the template component to initialize and return the Template object
$kirby->template(string $name, string $type = 'html', string $defaultType = 'html'): Kirby\Template\Template
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
| $type | string |
'html'
|
| $defaultType | string |
'html'
|
Return type
This method modifies the existing $app object it is applied to and returns it again.