FileAccess Orion

EngineInterface extends EngineInterface

EngineInterface is the interface each engine must implement.

Tags
author

Fabien Potencier fabien@symfony.com

deprecated

since version 4.3, to be removed in 5.0; use Twig instead.

Table of Contents

renderResponse()  : Response
Renders a view and returns a Response.

Methods

renderResponse()

Renders a view and returns a Response.

public renderResponse(string $view[, array<string|int, mixed> $parameters = [] ][, Response $response = null ]) : Response
Parameters
$view : string

The view name

$parameters : array<string|int, mixed> = []

An array of parameters to pass to the view

$response : Response = null
Tags
throws
RuntimeException

if the template cannot be rendered

Return values
Response

A Response instance

Search results