BackendViewFactory

FinalYes

Creates a View for backend usage. This is a low level factory. Extensions typically use ModuleTemplate instead.

Table of Contents

Properties

$packageManager  : PackageManager
$renderingContextFactory  : RenderingContextFactory

Methods

__construct()  : mixed
create()  : ViewInterface
This backend view is capable of overriding templates, partials and layouts via TsConfig based on the composer package name of the route and optional additional package names.

Properties

Methods

create()

This backend view is capable of overriding templates, partials and layouts via TsConfig based on the composer package name of the route and optional additional package names.

public create(ServerRequestInterface $request[, array<string|int, mixed> $packageNames = [] ]) : ViewInterface
Parameters
$request : ServerRequestInterface
$packageNames : array<string|int, mixed> = []
Return values
ViewInterface

        
On this page

Search results