DoDomuDojade Documentation

TwigRenderer
in package
implements ViewRendererInterface

Read onlyYes

Table of Contents

Interfaces

ViewRendererInterface

Properties

$flashMessengerService  : FlashMessengerService
$localeContext  : LocaleContext
$requestContext  : RequestContext
$translator  : Translator
$twig  : Environment

Methods

__construct()  : mixed
render()  : string
getGlobals()  : array<string|int, mixed>

Properties

Methods

render()

public render(string $template[, array<string|int, mixed> $data = [] ]) : string
Parameters
$template : string
$data : array<string|int, mixed> = []
Tags
throws
TwigException
Return values
string

getGlobals()

private getGlobals() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results