You are here

protected function Twig_Profiler_Dumper_Text::formatTemplate in Translation template extractor 7.3

1 call to Twig_Profiler_Dumper_Text::formatTemplate()
Twig_Profiler_Dumper_Text::dumpProfile in vendor/Twig/Profiler/Dumper/Text.php
1 method overrides Twig_Profiler_Dumper_Text::formatTemplate()
Twig_Profiler_Dumper_Html::formatTemplate in vendor/Twig/Profiler/Dumper/Html.php

File

vendor/Twig/Profiler/Dumper/Text.php, line 24

Class

Twig_Profiler_Dumper_Text
@author Fabien Potencier <fabien@symfony.com>

Code

protected function formatTemplate(Twig_Profiler_Profile $profile, $prefix) {
  return sprintf('%s└ %s', $prefix, $profile
    ->getTemplate());
}