Skip to content

Kirby 4.5.0

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