\phpDocumentor\GuidesTemplateRenderer

Summary

Methods
Properties
Constants
__construct()
getTemplateEngine()
setDestination()
render()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$environment
$basePath
$subFolder
N/A

Properties

$environment

$environment : \Twig\Environment

Type

\Twig\Environment —

$basePath

$basePath : string

Type

string

$subFolder

$subFolder : string

Type

string

Methods

__construct()

__construct(\Twig\Environment  $environment, string  $basePath, string  $subFolder) : mixed

Parameters

\Twig\Environment $environment
string $basePath
string $subFolder

Returns

mixed —

getTemplateEngine()

getTemplateEngine() : \Twig\Environment

Returns

\Twig\Environment —

setDestination()

setDestination(string  $filename) : void

Parameters

string $filename

render()

render(string  $template, array  $parameters = []) : string

Parameters

string $template
array $parameters

Returns

string —