new View() Creates a new view object Full class name: Kirby\Toolkit\View kirby/src/Toolkit/View.php#L39 new View(string $file, array $data = [ ]) Parameters Name Type Default $file * string – $data array [ ] Parent class Kirby\Toolkit\View