TemplateRenderer
Table of Contents
-
$basePath
: string
-
$environment
: Environment
-
$subFolder
: string
-
__construct()
: mixed
-
getTemplateEngine()
: Environment
-
render()
: string
-
setDestination()
: void
$basePath
private
string
$basePath
$environment
private
Environment
$environment
$subFolder
private
string
$subFolder
__construct()
public
__construct(Environment $environment, string $basePath, string $subFolder) : mixed
Parameters
-
$environment
: Environment
-
-
$basePath
: string
-
-
$subFolder
: string
-
Return values
mixed
—
getTemplateEngine()
public
getTemplateEngine() : Environment
Return values
Environment
—
render()
public
render(string $template[, array<string|int, mixed> $parameters = [] ]) : string
Parameters
-
$template
: string
-
-
$parameters
: array<string|int, mixed>
= []
-
Return values
string
—
setDestination()
public
setDestination(string $filename) : void
Parameters
-
$filename
: string
-
Return values
void
—