FileAccess Orion

PhpEngine extends PhpEngine
in package
implements EngineInterface

This engine knows how to render Symfony templates.

Tags
author

Fabien Potencier fabien@symfony.com

deprecated

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

Interfaces, Classes, Traits and Enums

EngineInterface
EngineInterface is the interface each engine must implement.

Table of Contents

$container  : mixed
__construct()  : mixed
get()  : mixed
{@inheritdoc}
renderResponse()  : Response
Renders a view and returns a Response.
setHelpers()  : mixed
{@inheritdoc}

Properties

Methods

get()

{@inheritdoc}

public get(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

renderResponse()

Renders a view and returns a Response.

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

The view name

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

An array of parameters to pass to the view

$response : Response = null
Return values
Response

A Response instance

setHelpers()

{@inheritdoc}

public setHelpers(array<string|int, mixed> $helpers) : mixed
Parameters
$helpers : array<string|int, mixed>
Return values
mixed

Search results