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 | Type | Description |
---|---|---|
$environment | Twig\Environment |
Twig\Environment
|
Returns
mixed
public
get ($path, array $vars = []
)
Parameters
Property | Type | Description |
---|---|---|
$path | mixed |
mixed
|
$vars | array |
array
|
Returns
mixed
Copyright © 2024 Winter CMS