◆ collect()
| collect |
( |
\Traversable | $iterator | ) |
|
Returns deprecations for passed templates.
- Paramètres
-
| \Traversable | $iterator | An iterator of templates (where keys are template names and values the contents of the template) |
- Renvoie
- array An array of deprecations
◆ collectDir()
| collectDir |
( |
string | $dir, |
|
|
string | $ext = '.twig' ) |
Returns deprecations for templates contained in a directory.
- Paramètres
-
| string | $dir | A directory where templates are stored |
| string | $ext | Limit the loaded templates by extension |
- Renvoie
- array An array of deprecations
La documentation de cette classe a été générée à partir du fichier suivant :
- vendor/twig/twig/src/Util/DeprecationCollector.php