Engine

View engine used by the system, used for converting .htm files to twig.

 class System\Twig\Engine
implements 
    Illuminate\Contracts\View\Engine

Properties

protected $environment : TwigEnvironment

Methods

public __construct (Twig\Environment $environment)

Constructor

Parameters
Property Description
$environment
Twig\Environment
Returns
mixed

public get ($path, array $vars = [])

Parameters
Property Description
$path
mixed
$vars
array
Returns
mixed
Copyright © 2024 Winter CMS