System\Twig\Engine

Source: ~/modules/system/twig/Engine.php

Implements:

  • Illuminate\Contracts\View\Engine

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

Protected properties

protected Twig_Environment $environment

Public methods

public void __construct($environment)

Constructor

Parameters
  • $environment

public void get($path, $vars=array())
Parameters
  • $path
  • $vars