public __construct ( Twig_Template $template, array $context = [], array $globals = [], integer $status = 200, array $headers = [] ) | ||
$template | Twig_Template | An object that is able to render a template with context |
$context | array | An array of context variables |
$globals | array | An array of global context variables |
$status | integer | The response status code |
$headers | array | An array of response headers |