Engine
in package
Thin adapter around the Katana Blade engine.
The view roots (userspace, installed modules in order, framework) are registered as an ordered finder chain via the Registry, so Katana resolves the entry view by name, its
Tags
Table of Contents
- render() : View
- cachePath() : string
- On-disk directory for compiled views, namespaced per project and per installed engine reference. The engine segment forces a clean cache on upgrade (Katana keys a compiled view on path + mtime, not engine version). Seam for a future generalized framework cache.
Methods
render()
public
static render(string $view, string $layout, array<string|int, mixed> $data) : View
Parameters
- $view : string
- $layout : string
- $data : array<string|int, mixed>
Return values
View —cachePath()
On-disk directory for compiled views, namespaced per project and per installed engine reference. The engine segment forces a clean cache on upgrade (Katana keys a compiled view on path + mtime, not engine version). Seam for a future generalized framework cache.
private
static cachePath() : string