Guides

EnvironmentBuilder
in package

FinalYes

Table of Contents

Properties

$environment  : Environment

Methods

__construct()  : mixed
getTwigEnvironment()  : Environment
setContext()  : void
setEnvironmentFactory()  : void

Properties

Methods

__construct()

public __construct(ThemeManager $themeManager[, array<string|int, ExtensionInterface$extensions = [] ]) : mixed
Parameters
$themeManager : ThemeManager
$extensions : array<string|int, ExtensionInterface> = []

getTwigEnvironment()

public getTwigEnvironment() : Environment
Return values
Environment

setEnvironmentFactory()

public setEnvironmentFactory(callable(): Environment $factory) : void
Parameters
$factory : callable(): Environment

        
On this page

Search results