protected function Twig_Test_NodeTestCase::getAttributeGetter in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Test/NodeTestCase.php \Twig_Test_NodeTestCase::getAttributeGetter()
File
- vendor/
Twig/ Test/ NodeTestCase.php, line 56
Class
Code
protected function getAttributeGetter() {
if (function_exists('twig_template_get_attributes')) {
return 'twig_template_get_attributes($this, ';
}
return '$this->getAttribute(';
}