|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Collaboration diagram for Twig_Util_DeprecationCollector:Public Member Functions | |
| __construct (Twig_Environment $twig) | |
| collectDir ($dir, $ext='.twig') | |
| Returns deprecations for templates contained in a directory. More... | |
| collect (Traversable $iterator) | |
| Returns deprecations for passed templates. More... | |
| errorHandler ($type, $msg) | |
Private Attributes | |
| $twig | |
| $deprecations | |
@final
Definition at line 17 of file DeprecationCollector.php.
| Twig_Util_DeprecationCollector::__construct | ( | Twig_Environment | $twig | ) |
Definition at line 22 of file DeprecationCollector.php.
References $twig.
| Twig_Util_DeprecationCollector::collect | ( | Traversable | $iterator | ) |
Returns deprecations for passed templates.
| Traversable | $iterator | An iterator of templates (where keys are template names and values the contents of the template) |
Definition at line 53 of file DeprecationCollector.php.
References $contents, $deprecations, and $name.
Referenced by collectDir().
Here is the caller graph for this function:| Twig_Util_DeprecationCollector::collectDir | ( | $dir, | |
$ext = '.twig' |
|||
| ) |
Returns deprecations for templates contained in a directory.
| string | $dir | A directory where templates are stored |
| string | $ext | Limit the loaded templates by extension |
Definition at line 35 of file DeprecationCollector.php.
References collect().
Here is the call graph for this function:| Twig_Util_DeprecationCollector::errorHandler | ( | $type, | |
| $msg | |||
| ) |
Definition at line 78 of file DeprecationCollector.php.
References $type.
|
private |
Definition at line 20 of file DeprecationCollector.php.
Referenced by collect().
|
private |
Definition at line 19 of file DeprecationCollector.php.
Referenced by __construct().