Engine
in package
implements
Engine
View engine used by the system, used for converting .htm files to twig.
Tags
Interfaces, Classes and Traits
Table of Contents
- $environment : Environment
- __construct() : mixed
- Constructor
- get() : string
- Get the evaluated contents of the view.
Properties
$environment
protected
Environment
$environment
Methods
__construct()
Constructor
public
__construct(Environment $environment) : mixed
Parameters
- $environment : Environment
Return values
mixed —get()
Get the evaluated contents of the view.
public
get(mixed $path[, array<string|int, mixed> $vars = [] ]) : string
Parameters
- $path : mixed
- $vars : array<string|int, mixed> = []