System\Twig\Engine

Implements:

  • Illuminate\Contracts\View\Engine

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

Protected properties

protected TwigEnvironment $environment

protected System\Twig\Loader $loader

Public methods

public void __construct($environment)

Constructor

Parameters
  • $environment

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