TwigEngine
class TwigEngine extends EngineAbstract (View source)
Constants
HELPERS |
Liste des helpers |
Properties
protected string | $name | ||
protected Loader | $config | from EngineAbstract |
Methods
mixed
render(string $filename, array $data = [])
No description
string
checkParseFile(string $filename, bool $extended = true)
Permet de verifier le fichier à parser
from
EngineAbstract
Twig_Environment|Twig_Loader_Filesystem
getTemplate()
No description
Details
mixed
render(string $filename, array $data = [])
No description
protected string
checkParseFile(string $filename, bool $extended = true)
Permet de verifier le fichier à parser
mixed
getName()
Permet de retourne le nom de template charge
__construct(Loader $config)
TwigEngine constructor.
Twig_Environment|Twig_Loader_Filesystem
getTemplate()
No description