Class View
A view.
- ICanBoogie\View\View implements ArrayAccess, JsonSerializable uses ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
public
__construct( ICanBoogie\Routing\Controller $controller
, ICanBoogie\Render\Renderer $renderer
)
An event hook is attached to the action
event of the controller for late rendering,
which only happens if the response is null
.
protected
resolve_template( string $name
, string $prefix
, array & $tried
= [] )
: string|false
Resolve a template pathname from its name and type.