Download the PHP package aatis/template-renderer without Composer
On this page you can find all versions of the php package aatis/template-renderer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package template-renderer
Aatis Template Renderer
Installation
Dependencies
twig/twigaatis/dependency-injection(https://github.com/BatMaxou/aatis-dependency-injection)aatis/stacking-service(https://github.com/BatMaxou/aatis-stacking-service)
Usage
Requirements
Add the TemplateRenderer service into the Container.
Basic usage
Call render() method with template path and an optionnal array of data.
Custom Template Renderer
By default, this template renderer supports .html, .tpl.php and .html.twig files.
You can add your own template renderer by creating a class that extends AbstractTemplateRenderer.
This Custom Template Renderer must contains:
EXTENSIONconstant calling the case of the enum corresponding to the target extension.render()method that will be called by the base template renderer.
If needed, you can use the getTemplateContent() method of the AbstractTemplateRenderer to extract the vars and get the content of the template which will be rendered.
All versions of template-renderer with dependencies
PHP Build Version
Package Version
The package aatis/template-renderer contains the following files
Loading the files please wait ...