ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | |
Definition at line 17 of file DeprecationCollector.php.
Twig_Util_DeprecationCollector::__construct | ( | Twig_Environment | $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 $deprecations, and $name.
Referenced by collectDir().
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().
Twig_Util_DeprecationCollector::errorHandler | ( | $type, | |
$msg | |||
) |
|
private |
Definition at line 20 of file DeprecationCollector.php.
Referenced by collect().
|
private |
Definition at line 19 of file DeprecationCollector.php.
Referenced by __construct().