Skip to content

Kirby 4.4.1

new View()

Creates a new view object

new View(string $file, array $data = [ ])

Parameters

Name Type Default
$file * string
$data array [ ]

Parent class

Kirby\Toolkit\View