PHP Trait Webiny\Component\TemplateEngine\TemplateEngineTrait

Datei anzeigen Open project: Webiny/Framework

Public Methods

Method Description
templateEngine ( string $driver = 'Smarty' ) : Webiny\Component\TemplateEngine\Bridge\TemplateEngineInterface Get template engine instance.

Method Details

templateEngine() public method

Get template engine instance.
public templateEngine ( string $driver = 'Smarty' ) : Webiny\Component\TemplateEngine\Bridge\TemplateEngineInterface
$driver string Name of the driver. Default driver is 'Smarty'.
return Webiny\Component\TemplateEngine\Bridge\TemplateEngineInterface