package | Default |
---|
__construct(\Twig\Environment $twig)
\Twig\Environment
collect(\Traversable $iterator): array
\Traversable
An iterator of templates (where keys are template names and values the contents of the template)
array
An array of deprecations
collectDir(string $dir,string $ext = '.twig'): array
string
A directory where templates are stored
string
Limit the loaded templates by extension
array
An array of deprecations
twig :
deprecations :